LTWAINPROPERTYQUERY
TCapType = (_ONEVALUE, _ENUMERATION, _ARRAY, _RANGE);
// TWAIN structure LTWAINPROPERTYQUERY
ppLTWAINPROPERTYQUERY= ^pLTWAINPROPERTYQUERY;
pLTWAINPROPERTYQUERY= ^LTWAINPROPERTYQUERY;
LTWAINPROPERTYQUERY = Packed Record
uType: L_UINT;
Case TCapType of
_ONEVALUE: (pltwOneValue: pTW_ONEVALUE);
_RANGE: (pltwRange: pTW_RANGE);
_ENUMERATION: (pltwEnumeration: pTW_ENUMERATION);
_ARRAY: (pltwArray: pTW_ARRAY);
end;
The LTWAINPROPERTYQUERY structure provides information about the capability properties.
Member |
Description | |
uType |
Holds the type of pointer to use from the union. Possible values are (according to the TWAIN 1.9 specification): | |
|
Value |
Meaning |
|
TWON_ONEVALUE |
The container is of type TW_ONEVALUE and only the pltwOneValue pointer is used. |
|
TWON_RANGE |
The container is of type TW_RANGE and only the pltwRange pointer is used. |
|
TWON_ONEVALUE |
The container is of type TW_ENUMERATION and only the pltwEnumeration pointer is used. |
|
TWON_ONEVALUE |
The container is of type TW_ARRAY and only the pltwArray pointer is used. |
pltwOneValue |
Pointer to a TW_ONEVALUE structure. | |
pltwRange |
Pointer to a TW_RANGE structure. | |
pltwEnumeration |
Pointer to a TW_ENUMERATION structure. | |
pltwArray |
Pointer to a TW_ARRAY structure. |
Comments
pLTWAINPROPERTYQUERY is a pointer to a LTWAINPROPERTYQUERY structure. Where the methods parameter type is pLTWAINPROPERTYQUERY, you can declare an LTWAINPROPERTYQUERY variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pLTWAINPROPERTYQUERY variable is necessary only if your program requires a pointer.
LTWAINPROPERTIES is allocated by the QueryProperty method and freed by FreePropQueryStructure method.
For more information on the TWAIN 1.9 Specification, refer to the specification, available at www.twain.org.