// wiamdef.h
void WIAS_LWARNING(
pILog,
ResID,
Args
);
View the official Windows Driver Kit DDI reference// wiautil.h
void WIAS_LWARNING(
x,
y,
params
);
View the official Windows Driver Kit DDI referenceNo description available.
[!CAUTION] The WIAS_LWARNING macro is obsolete. Do not use.
The WIAS_LWARNING macro writes a diagnostic WIA_WARNING message to the log file.
pILogDefines the x parameter pILog.
ResIDDefines the y parameter ResID.
Argsformat_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.
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 it does not write to the new log file used in modern Windows operating systems.
The WIAS_LWARNING macro is obsolete.
The WIAS_LWARNING macro writes a diagnostic WIA_WARNING message to the log file.
xyparamspIWiaLog - 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".
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.