RestoreLastError 函数 (errhandlingapi.h)
还原调用线程的最后错误代码。
语法
void RestoreLastError(
DWORD dwErrCode
);
参数
dwErrCode
线程的最后一个错误代码。
返回值
无
要求
要求 | 值 |
---|---|
最低受支持的客户端 | Windows XP |
最低受支持的服务器 | Windows Server 2003 |
标头 | errhandlingapi.h |
DLL | api-ms-win-core-errorhandling-l1-1-1.dll |