wiautil.h header

This header is used by image. For more information, see:

wiautil.h contains the following programming interfaces:

Classes

 
CWiauDbgFn

The CWiauDbgFn class is a helper class that is used for tracing function or method entry and exit points.
CWiauFormatConverter

The CWiauFormatConverter class is a helper class for converting images to BMP format.
CWiauPropertyList

The CWiauPropertyList class can be used to create and maintain a list of properties for a device.

Functions

 
WIAS_ASSERT

Learn how the WIAS_ASSERT macro writes a diagnostic message to the Wiatrace.log file.
WIAS_ERROR

Learn how the WIAS_ERROR macro writes a diagnostic message to the Wiatrace.log file.
WIAS_HRESULT

Learn how the WIAS_HRESULT macro writes a diagnostic message to the Wiatrace.log file.
WIAS_LERROR

The WIAS_LERROR macro is obsolete for Windows Vista and later. 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.
WIAS_LHRESULT

The WIAS_LHRESULT macro is obsolete for Windows Vista and later. It is recommended that the WIAS_HRESULT macro be used instead. The WIAS_LHRESULT macro translates an HRESULT value into a string and writes the string to the diagnostic log file.
WIAS_LTRACE

The WIAS_LTRACE macro is obsolete for Windows Vista and later. It is recommended that the WIAS_TRACE macro be used instead.The WIAS_LTRACE macro writes a diagnostic WIA_TRACE message to the log file.
WIAS_LWARNING

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

Learn how the WIAS_TRACE macro writes a diagnostic message to the Wiatrace.log file.
wiauDbgDump

The wiauDbgDump function logs a message containing one or more data values.
wiauDbgError

The wiauDbgError function logs an error message.
wiauDbgErrorHr

The wiauDbgErrorHr function logs a message containing an HRESULT and its error message string.
wiauDbgFlags

The wiauDbgFlags function determines whether a particular debugging flag is set.
wiauDbgHelper

The wiauDbgHelper function formats a message and writes it to a log file, or debugger, or both.
wiauDbgHelper2

The wiauDbgHelper2 function writes a message to a log file, or debugger, or both.
wiauDbgInit

The wiauDbgInit function initializes WIA debugging.
wiauDbgLegacyError

The wiauDbgLegacyError function logs an error message.
wiauDbgLegacyError2

The wiauDbgLegacyError2 function logs an error message.
wiauDbgLegacyHresult2

The wiauDbgLegacyHresult2 function logs a default message containing an HRESULT.
wiauDbgLegacyTrace

The wiauDbgLegacyTrace function logs a trace message.
wiauDbgLegacyTrace2

The wiauDbgLegacyTrace2 function logs a trace message.
wiauDbgLegacyWarning

The wiauDbgLegacyWarning function logs a warning message.
wiauDbgSetFlags

The wiauDbgSetFlags function sets debugging flags.
wiauDbgTrace

The wiauDbgTrace function logs a trace message.
wiauDbgWarning

The wiauDbgWarning function logs a warning message.
wiauGetDrvItemContext

The wiauGetDrvItemContext function gets the driver item context, and optionally, the driver item.
wiauGetResourceString

The wiauGetResourceString function gets a resource string, storing it as a BSTR.
wiauGetValidFormats

The wiauGetValidFormats function calls the IWiaMiniDrv::drvGetWiaFormatInfo method and makes a list of valid formats, using a specified tymed value.
wiauPropInPropSpec

The wiauPropInPropSpec function determines whether a specified property specification ID is contained in an array of such values. The function optionally gets the index at which the property specification ID was found.
wiauPropsInPropSpec

The wiauPropsInPropSpec function determines whether any of a list of property specification IDs is contained within an array of such values.
wiauRegGetDwordA

The wiauRegGetDword function gets a DWORD value from the DeviceData section of the registry.
wiauRegGetDwordW

Learn how the wiauRegGetDword function gets a DWORD value from the DeviceData section of the registry.
wiauRegGetStrA

The wiauRegGetStr function gets a string value from the DeviceData section of the registry.
wiauRegGetStrW

Learn how the wiauRegGetStr function gets a string value from the DeviceData section of the registry.
wiauRegOpenDataA

The wiauRegOpenData function opens the DeviceData registry key.
wiauRegOpenDataW

Learn how the wiauRegOpenData function opens the DeviceData registry key.
wiauSetImageItemSize

The wiauSetImageItemSize function calculates the size and width, in bytes, for an image, based on the current WIA_IPA_FORMAT setting (described in the Microsoft Windows SDK documentation), and writes the new values to the appropriate properties.
wiauStrC2C

The wiauStrC2C function copies an ANSI character string to another ANSI character string.
wiauStrC2W

The wiauStrC2W function converts an ANSI character string to a Unicode string.
wiauStrW2C

The wiauStrW2C function converts a Unicode string to an ANSI character string.
wiauStrW2W

The wiauStrW2W function copies a Unicode string to another Unicode string.

Structures

 
BMP_IMAGE_INFO

The BMP_IMAGE_INFO structure contains information about a BMP image.

Enumerations

 
SKIP_AMOUNT

The SKIP_AMOUNT enumeration is used to indicate whether the file and informational headers of an image should be skipped over.