Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 2.33 KB

wia-functions-for-debugging.md

File metadata and controls

28 lines (25 loc) · 2.33 KB
title description ms.date
WIA Functions for Debugging
WIA functions for debugging
05/10/2023

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.