SetLastError The SetLastError function sets the last-error code for the calling thread.
VB4-32,5,6
Declare Sub SetLastError Lib "kernel32" Alias "SetLastError" (ByVal dwErrCode As Long) |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
- dwErrCode
Specifies the last-error code for the thread. |
This function does not return a value. |
|