RestoreLastError function (errhandlingapi.h)
Restores the last-error code for the calling thread.
Syntax
void RestoreLastError(
DWORD dwErrCode
);
Parameters
dwErrCode
The last-error code for the thread.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP |
Minimum supported server | Windows Server 2003 |
Header | errhandlingapi.h |
DLL | api-ms-win-core-errorhandling-l1-1-1.dll |