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

Lock a Windows NT Workstation in One Line of Code

Simple. This locks a Windows NT-based computer in one line of code. This would be the same as the user pressing CTRL-ALT-DEL and pressing "Lock Computer". NOTE: You must have WinNT 5.0 or later. (that's 2000 or XP)

AI

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.

소스 코드
original-source
Private Sub Command1_Click()
LockWorkStation
End Sub
원본 댓글 (3)
Wayback Machine에서 복구됨