// wiautil.h
void wiauDbgLegacyHresult2(
[in] HINSTANCE hInstance,
HRESULT hr
);
View the official Windows Driver Kit DDI referenceNo description available.
The wiauDbgLegacyHresult2 function logs a default message containing an HRESULT.
hInstance [in]Specifies the handle to the DLL instance.
hrSpecifies the HRESULT to be logged.
A call to the wiauDbgLegacyHresult2 function is equivalent to the following call to the wiauDbgErrorHr function:
wiauDbgErrorHr(hr, "", "");
That is, only one line is output to the log file and/or debugger. The line has the following form:
ERROR HRESULT = HRESULT value, Error text for HRESULT