waitingsong / node-win32-api

win32 api
MIT License
430 stars 55 forks source link

SetThreadExecutionState (kernel32.dll) #9

Closed niikoo closed 5 years ago

niikoo commented 5 years ago

For away-mode / prevent sleep.

niikoo commented 5 years ago

See: https://github.com/waitingsong/node-win32-def/pull/1

niikoo commented 5 years ago

I did a full reset of the branch, so I will reopen this PR since it was automatically closed.

niikoo commented 5 years ago

The lint changes happens because of auto lint and format in vscode.