WIAS_LERROR macro (wiautil.h)
The WIAS_LERROR macro is obsolete. It is recommended that the WIAS_ERROR macro be used instead.
The WIAS_LERROR macro writes a diagnostic WIA_ERROR message to the log file.
Syntax
void WIAS_LERROR(
x,
y,
params
);
Parameters
x
y
params
format_string, ... - Specifies a variable argument list, which starts with an ANSI format string that describes the message and any format identifiers. The ellipsis (...) specifies a variable number of arguments that need to be output. The error text should be prefixed with the full name of the method or function and generate the message in the format of "class::method, error-text".
lResId - Specifies the resource ID. This value should be set to WIALOG_NO_RESOURCE_ID.
pIWiaLog - Pointer to an IWiaLog Interface.
Return value
None
Remarks
The following is an example of how the macro can be used:
WIAS_LERROR(g_pIWiaLog, WIALOG_NO_RESOURCE_ID,
("MyClass::MyMethod, This is my text and my lValue = %d", lValue));
The WIAS_LERROR macro is not recommended, because it does not record its output to the Wiatrace.log diagnostic log file. It is recommended that the WIAS_ERROR macro be used instead.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Obsolete. Use WIAS_ERROR instead. |
Target Platform | Desktop |
Header | wiautil.h (include Wiautil.h) |