Debugging and Error Reporting Global Functions
These functions provide useful debugging and trace facilities.
Returns a GetLastError error code in the form of an HRESULT.
Converts a Win32 error code into an HRESULT.
Sets up IErrorInfo to provide error details to a client.
Throws a CAtlException.
Call this function to signal an error based on the result of the Windows function GetLastError.
Call this function to load trace settings from a file.
Call this function to save the current trace settings to a file.