@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The LockWorkStation API !!!!C# Signature: [DllImport("user32.dll", SetLastError = true)] static extern bool LockWorkStation(); !!!!VB Signature: <DllImport("user32.dll", SetLastError:=True)> _ Public Shared Function LockWorkStation() As Boolean End Function !!!!User-Defined Types: None. !!!!Notes: LockWorkStation uses LastError !!!!Tips & Tricks: Please add some! !!!!Sample Code: void LockWorkStationSafe() { bool result = LockWorkStation(); if( result == false ) { // An error occured throw new Win32Exception( Marshal.GetLastWin32Error() ); } } !!!!Alternative Managed API: Do you know one? Please contribute it! Documentation: LockWorkStation@msdn on MSDN
Edit user32.LockWorkSt...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.