WIAS_LWARNING macro (wiamdef.h)

Caution

The WIAS_LWARNING macro is obsolete. Do not use.

The WIAS_LWARNING macro writes a diagnostic WIA_WARNING message to the log file.

Syntax

void WIAS_LWARNING(
   pILog,
   ResID,
   Args
);

Parameters

pILog

Defines the x parameter pILog.

ResID

Defines the y parameter ResID.

Args

  • 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_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.

Requirements

Requirement Value
Minimum supported client Obsolete, do not use.
Target Platform Desktop
Header wiamdef.h (include Wiautil.h)

See also

WIAS_LERROR

WIAS_LHRESULT

WIAS_LTRACE