win32.showlockscreen

0.0.1 • Public • Published

This function will lock the computer and show the login screen. (Windows7 and higher only)

Install

npm install win32.showlockscreen

Use

var showLockScreen = require('win32.showlockscreen')
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/

Package Sidebar

Install

npm i win32.showlockscreen

Weekly Downloads

0

Version

0.0.1

License

ISC

Last publish

Collaborators

  • jochemstoel