IWiaLog::hResult method (wia_lh.h)

The IWiaLog::hResult method is obsolete and is no longer supported. Use the Diagnostic Log Macros instead.

The IWiaLog::hResult method translates an HRESULT value into a string and writes the string to Wiaservc.log.

Syntax

HRESULT hResult(
  [in] HRESULT hResult
);

Parameters

[in] hResult

Specifies the HRESULT value to translate into a string.

Return value

If the method succeeds, it returns S_OK. If the method fails, it returns a standard COM error code.

Requirements

Requirement Value
Minimum supported client Obsolete and is no longer supported. Instead, use the Diagnostic Log Macros.
Target Platform Desktop
Header wia_lh.h