WIAS_LERROR - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wiamdef.h

void WIAS_LERROR(
  pILog,
  ResID,
  Args
);
View the official Windows Driver Kit DDI reference
// wiautil.h

void WIAS_LERROR(
  x,
  y,
  params
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wiamdef-wias_lerror)

WIAS_LERROR macro (wiamdef.h)

Description

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.

Parameters

pILog

Pointer to an IWiaLog Interface.

ResID

Specifies the resource ID. This value should be set to WIALOG_NO_RESOURCE_ID.

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

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 obsolete and not recommended for use 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.

See also

WIAS_ERROR

WIAS_LHRESULT

WIAS_LTRACE

WIAS_LWARNING


Windows Driver Kit DDI reference (nf-wiautil-wias_lerror)

WIAS_LERROR macro (wiautil.h)

Description

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.

Parameters

x

y

params

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.

See also

WIAS_ERROR

WIAS_LHRESULT

WIAS_LTRACE

WIAS_LWARNING