@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The SetLastError API !!!!C# Signature: /// <summary> /// Sets the last-error code for the calling thread. /// </summary> /// <param name="dwErrorCode">The last-error code for the thread.</param> [DllImport("kernel32.dll", SetLastError = true)] static extern void SetLastError(uint dwErrorCode); !!!!VB.NET Signature: Declare Function SetLastError Lib "kernel32.dll" (ByVal dwErrCode As Integer) As Integer !!!!User-Defined Types: None. !!!!Notes: None. !!!!Tips & Tricks: Call SetLastError(0) at the beginning of your function if you'll use [GetLastError]. !!!!Sample Code: Please add some! !!!!Alternative Managed API: Do you know one? Please contribute it! Documentation: SetLastError@msdn on MSDN
Edit kernel32.SetLastE...
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.