DTWAIN_EnumPixelTypes
The DTWAIN_EnumPixelTypes function gets all of the possible pixel types (color settings) that are available for a Source.
DTWAIN_BOOL DTWAIN_EnumPixelTypes (
Parameters Source An open TWAIN Source.
lpPixelTypes Address of a DTWAIN_ARRAY that will store the pixel types
Return Values The return value is TRUE if successful. Otherwise FALSE is returned.
Comments The DTWAIN_EnumPixelTypes function gets all of the pixel types, or color settings, supported by the Source The data type of the returned DTWAIN_ARRAY is ARRAYLONG.
DTWAIN Pixel Constants contains a list of the possible pixel types.
TWAIN State Transitions The Source must be in State 4 or higher
Prerequisite Function Call(s)
DTWAIN Source Selection Function
See Also |