WIA Diagnostic Log Macros

Note

For WIA error handling on modern Windows operating systems, see WIA Driver Error Recovery.

The Diagnostic Log Macros enable minidrivers to log trace, error, and warning messages to the Wiaservc.log diagnostic log file.

Macro Description
WIAS_LERROR Writes a log statement of type ERROR to the Wiaservc.log diagnostic log file.
WIAS_LHRESULT Translates an HRESULT value into a string and writes the string to the Wiaservc.log diagnostic log file.
WIAS_LTRACE Writes a log statement of type TRACE to the Wiaservc.log diagnostic log file.
WIAS_LWARNING Writes a log statement of type WARNING to the Wiaservc.log diagnostic log file.
WIAS_ERROR Writes a log statement of type ERROR to the Wiatrace.log diagnostic log file.
WIAS_TRACE Writes a log statement of type TRACE to the Wiatrace.log diagnostic log file.