WIAS_HRESULT macro (wiamdef.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.

Requirements

Requirement Value
Target Platform Desktop
Header wiamdef.h (include Wiautil.h)

See also

WIAS_ASSERT

WIAS_ERROR

WIAS_TRACE