waitingsong / node-win32-api

win32 api
MIT License
430 stars 55 forks source link

Adding Kernel32's GetSystemTime #14

Closed Njanderson closed 5 years ago

Njanderson commented 5 years ago

Hey! I am working on adding GetSystemTime, which involves my first adding to your node-win32-def project to add the FILETIME, PFILETIME, and LPFILETIME types. There are node extensions (see system-information) that use WMIC to perform tons of queries, but I would imagine we could get better performance by invoking these functions directly without having to deal with starting a console, executing WMIC, and returning. I plan to start with exposing GetSystemTime and seeing what other functions are currently exposed through executing a terminal session of WMIC.

Is this work that you would pull into your project?

Thanks, Nick

waitingsong commented 5 years ago

published as win32-api@6.1.0

thanks