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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for