WIA functions for debugging

You can use the following function to log trace messages, warning messages, and error messages when you are developing your WIA minidriver.

Function Description
wiauDbgDump Logs a message containing one or more data values.
wiauDbgError Logs an error message.
wiauDbgErrorHr Logs a message containing an HRESULT and its error message string.
wiauDbgFlags Determines whether a particular debugging flag is set.
wiauDbgHelper Formats a message and writes it to a log file or the debugger.
wiauDbgHelper2 Writes a message to a log file, or debugger, or both.
wiauDbgInit Initializes WIA debugging.
wiauDbgLegacyError Logs an error message.
wiauDbgLegacyError2 Logs an error message.
wiauDbgLegacyHresult2 Logs a default message containing an HRESULT.
wiauDbgLegacyTrace Logs a trace message.
wiauDbgLegacyTrace2 Logs a trace message.
wiauDbgLegacyWarning Logs a warning message.
wiauDbgSetFlags Sets debugging flags.
wiauDbgTrace Logs a trace message.
wiauDbgWarning Logs a warning message.