WIAS_TRACE - NtDoc

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

void WIAS_TRACE(
  x
);
View the official Windows Driver Kit DDI reference
// wiautil.h

void WIAS_TRACE(
  x
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

WIAS_TRACE macro (wiamdef.h)

Description

The WIAS_TRACE macro writes a diagnostic message to the Wiatrace.log file.

Parameters

x

Remarks

To enable tracing in free builds, drivers must define the WIA_DEBUG macro by adding #define WIA_DEBUG before including any of the WIA headers. Tracing is enabled by default in checked and debug builds of the operating system.

The following is an example of how the macro would be used:

WIAS_TRACE((g_hInst,"WIA storage path = %ws",m_wszStoragePath));

This code snippet was taken from Wiadriver.cpp, which is included with the Windows Image Acquisition (WIA) driver samples on GitHub.

See also

WIAS_ASSERT

WIAS_ERROR

WIAS_HRESULT


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

WIAS_TRACE macro (wiautil.h)

Description

The WIAS_TRACE macro writes a diagnostic message to theWiatrace.log file.

Parameters

x

Remarks

To enable tracing in free builds, drivers must define the WIA_DEBUG macro by adding #define WIA_DEBUG before including any of the WIA headers. Tracing is enabled by default in checked and debug builds of the operating system.

The following is an example of how the macro would be used:

WIAS_TRACE((g_hInst,"WIA storage path = %ws",m_wszStoragePath));

This code snippet was taken fromWiadriver.cpp, which is included with the WDK.

See also

WIAS_ASSERT

WIAS_ERROR

WIAS_HRESULT