Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.41 KB

wia-diagnostic-log-macros.md

File metadata and controls

21 lines (17 loc) · 1.41 KB
title description ms.date
WIA Diagnostic Log Macros
WIA Diagnostic Log Macros
04/20/2017

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.