Bewerken

Delen via


wiauDbgHelper macro (wiautil.h)

The wiauDbgHelper function formats a message and writes it to a log file, or debugger, or both.

Syntax

void wiauDbgHelper(
   a,
   b,
   c,
   d
);

Parameters

a

b

c

d

  • fmt [in] - Pointer to a string that controls how an item or items in a variable argument list is to be formatted.

  • fname [in] - Pointer to a string containing the name of the function or method into which the call to wiauDbgHelper is inserted.

  • marker - Marks the beginning of a variable argument list.

  • prefix [in] - Pointer to a string containing a prefix (such as "ERROR " or "WARN ") associated with the message.

Return value

None

Remarks

The wiauDbgHelper function is a general-purpose function that is used internally by many of the other wiauDbgXxx functions. While it can be used in WIA minidrivers, there are other limited-purpose functions provided that are more convenient to use.

Requirements

Requirement Value
Target Platform Desktop
Header wiautil.h (include Wiautil.h)

See also

wiauDbgDump

wiauDbgError

wiauDbgErrorHr

wiauDbgTrace

wiauDbgWarning