WIAS_HRESULT macro (wiautil.h)

The WIAS_HRESULT macro writes a diagnostic message to the Wiatrace.log file.

Syntax

void WIAS_HRESULT(
   x
);

Parameters

x

  • hInstance - Handle to the calling driver.

  • hr - Specifies the HRESULT value to be printed.

Return value

None

Remarks

This macro is the recommended way to output HRESULTS on Windows Vista.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the operating system.
Target Platform Desktop
Header wiautil.h (include Wiautil.h)

See also

WIAS_ASSERT

WIAS_ERROR

WIAS_TRACE