typedef struct _LWIACAPLISTVALUES
{
L_UINT uStructSize;
L_UINT uCapListValuesCount;
L_VOID ** ppCapListValues;
} LWIACAPLISTVALUES, * pLWIACAPLISTVALUES;
The LWIACAPLISTVALUES structure provides information about the enumerated WIA capabilities of type WIA_PROP_LIST.
Member |
Description |
uStructSize |
Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value. |
uCapListValuesCount |
Contains the count of the received list values. |
ppCapListValues |
Pointer to the first item in the received list values array. |
|
The content of this array should be cast back to the type of the original capability values. |
This feature is available in LEADTOOLS version 16 or higher.
pLWIACAPLISTVALUES is a pointer to an LWIACAPLISTVALUES structure. If the function parameter type is pLWIACAPLISTVALUES, you can declare an LWIACAPLISTVALUES variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pLWIACAPLISTVALUES variable is necessary only if your program requires a pointer.
The content of the ppCapListValues pointer array should be cast back to the required type of the received capability of type WIA_PROP_LIST. For example, if the received capability is of type VT_I4 then you need to cast each member of this array to (L_INT) since this is an L_VOID pointers array.
LWIACAPLISTVALUES is used with the L_WiaEnumCapabilities function.