waitingsong / node-win32-api

win32 api
MIT License
430 stars 55 forks source link

Added GetSystemTimes. New win32-def required. #15

Closed Njanderson closed 5 years ago

Njanderson commented 5 years ago

The win32-def that is required (and you would need to bump the package.json on) is in this pull request: https://github.com/waitingsong/node-win32-def/pull/2

My reasoning for this addition is that I want to use this module in system-information such that they don't query WMIC for everything, which seems like a lot less efficient (opening a console. running a cmd. parsing the results. etc etc.) than just calling straight into the DLL with ffi.