Advertisement
6_2008-2009 Windows API Call/ Explanation #202268

Lock Workstation (Lock Computer) API CALL

This line of code will allow you to lock a Windows 2000 machine. Simulates CLT+ALT+DEL and Clicking the Lock Workstations.

AI

Shrnutí AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Zdrojový kód
original-source
'In a module please place the following line of code
Public Declare Function LockWorkStation Lib "user32" () As Boolean

'On a command button or Sub, please this line of code
LockWorkstation

'Please note that this can also be done by putting this line of code in a button
Shell "rundll32 user32.dll,LockWorkStation"
Původní komentáře (3)
Obnoveno z Wayback Machine