This function will lock the computer and show the login screen. (Windows7 and higher only)
Install
npm install win32.showlockscreen
Use
var showLockScreen =
How does it work?
This module will use rundll32.exe to call method ShowLockScreen() inside user32.dll
Until next time.
# Jochem Stoel
Involuntary public figure.
- https://www.npmjs.com/~jochemstoel
- http://jochemstoel.github.io/
- https://jochemstoel.tumblr.com/
- https://jochemstoel.nl/
- https://www.facebook.com/Jochem-Stoel-271292656217087/