LWIACAPABILITY

Summary

The LWIACAPABILITY structure provides information about each enumerated WIA capability.

Syntax

typedef struct _LWIACAPABILITY 
{ 
   L_UINT  uStructSize; 
   L_UINT  uPropertyID; 
   L_TCHAR szPropertyName[MAX_PATH]; 
   L_UINT  uVariableType; 
   L_UINT  uPropertyAttributes; 
   pLWIACAPABILITYVALUES  pCapabilityValues; 
} LWIACAPABILITY, * pLWIACAPABILITY; 

Members

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() operator to calculate this value.

uPropertyID

The enumerated property ID.

szPropertyName

The name of the enumerated property.

uVariableType

The type of the enumerated property the user can use when do the casting for the received property value.

uPropertyAttributes

The enumerated property attributes like the property value type (Flag value, List value or Range value), the property access (Read, Write, Read/Write), The following constants are valid property attributes:

Value Meaning
WIA_PROP_CACHEABLE The device can cache the property's value.
WIA_PROP_FLAG The property has a list of legal flag values. Flag values are combined using a bitwise OR operation.
WIA_PROP_LIST The property has a list of legal values.
WIA_PROP_NONE The property does not have any valid values associated with it.
WIA_PROP_RANGE The property has a range of valid values.
WIA_PROP_READ The application can read the property's value.
WIA_PROP_RW The application can read and write the property's value.
WIA_PROP_WRITE The application can write the property's value.

pCapabilityValues

Pointer to the values structure that contains the enumerated capability values.

Comments

This feature is available in LEADTOOLS version 16 or higher.

pLWIACAPABILITY is a pointer to an LWIACAPABILITY structure. If the function parameter type is LWIACAPABILITY, you can declare an LWIACAPABILITY variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pLWIACAPABILITY variable is necessary only if your program requires a pointer.

The structure is used by:

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS WIA C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.