Bewerken

Delen via


wiauDbgError function (wiautil.h)

The wiauDbgError function logs an error message.

Syntax

void wiauDbgError(
  LPCSTR fname,
  LPCSTR fmt,
  ...    
);

Parameters

fname

Pointer to a string containing the name of the function or method into which the call to wiauDbgDump is inserted.

fmt

Pointer to a format string that specifies a variable argument list, which starts with an ANSI format string containing the message and any conversion specifiers. The ellipsis (...) specifies a variable number of arguments that are to be output.

...

Return value

None

Remarks

The wiauDbgError typically is used to display an error message with no data, such as in the following example:

wiauDbgError("Read", "Attempting to read past end of buffer");

Requirements

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

See also

wiauDbgDump

wiauDbgErrorHr

wiauDbgTrace

wiauDbgWarning