Skip to content

Latest commit

 

History

History
82 lines (62 loc) · 2.38 KB

nf-wiautil-wias_lwarning.md

File metadata and controls

82 lines (62 loc) · 2.38 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:wiautil.WIAS_LWARNING
WIAS_LWARNING macro (wiautil.h)
The WIAS_LWARNING macro is obsolete for Windows Vista and later.The WIAS_LWARNING macro writes a diagnostic WIA_WARNING message to the log file.
image\wias_lwarning.htm
image
05/03/2018
WIAS_LWARNING macro
IWiaLog_bac21803-be4c-4ce0-a241-b9380cb627ab.xml, WIAS_LWARNING, WIAS_LWARNING macro [Imaging Devices], image.wias_lwarning, wiamdef/WIAS_LWARNING
wiautil.h
Wiautil.h
Desktop
Obsolete. Do not use.
Windows
WIAS_LWARNING
wiautil/WIAS_LWARNING
APIRef
kbSyntax
HeaderDef
wiamdef.h
WIAS_LWARNING

WIAS_LWARNING macro (wiautil.h)

-description

The WIAS_LWARNING macro is obsolete.

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

-parameters

-param x

-param y

-param 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".

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

-see-also

WIAS_LERROR

WIAS_LHRESULT

WIAS_LTRACE