WIAS_LWARNING macro (wiautil.h)
The WIAS_LWARNING macro is obsolete.
The WIAS_LWARNING macro writes a diagnostic WIA_WARNING message to the log file.
Syntax
void WIAS_LWARNING(
x,
y,
params
);
Parameters
x
y
params
pIWiaLog - Pointer to an IWiaLog Interface.
lResId - Specifies the resource ID. This value should be set to WIALOG_NO_RESOURCE_ID.
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".
Return value
None
Remarks
The following is an example of how the macro can be used:
WIAS_LWARNING(g_pIWiaLog, WIALOG_NO_RESOURCE_ID, ("MyClass::MyMethod, This is my text and my lValue = %d", lValue));
Please note that the WIAS_LWARNING macro is obsolete and does not write to the log file used in modern Windows operation systems.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Obsolete. Do not use. |
Target Platform | Desktop |
Header | wiautil.h (include Wiautil.h) |