wiauDbgLegacyHresult2 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wiautil.h

void wiauDbgLegacyHresult2(
  [in] HINSTANCE hInstance,
       HRESULT   hr
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wiautil-wiaudbglegacyhresult2)

wiauDbgLegacyHresult2 function

Description

The wiauDbgLegacyHresult2 function logs a default message containing an HRESULT.

Parameters

hInstance [in]

Specifies the handle to the DLL instance.

hr

Specifies the HRESULT to be logged.

Remarks

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

See also

wiauDbgErrorHr