| BuildMessage* | Creates a formatted message in a dynamically allocated buffer (on the heap). | |
| DeleteMessage* | Deletes memory allocated for a character string on the heap after verifying that it is not NULL. | |
| TryDeleteMessage* | Same as DeleteMessage, except executes within a try...catch block. | |
| GetWin32ErrorMessage | Generates an error description for a specific Windows error code or a current system error. | |
| GetComErrorMessage | Generates an error description for the specified COM error code (HRESULT) and the information retrieved from the COM Error object (IErrorInfo interface). | |
| SetComError | Sets COM error information for the current thread. If there is a pending COM error available via the COM Error object (IErrorInfo interface), this function will also include its description in the new error. | |
| DebugLog | Logs a formatted debug message to a file. |