DTWAIN_EnumExtImageInfoTypes

Top  Previous  Next

The DTWAIN_EnumExtImageInfoTypes function fills a DTWAIN_ARRAY with all of a Source's supported extended image information types.

 

DTWAIN_BOOL DTWAIN_EnumExtImageInfoTypes (

DTWAIN_SOURCE

Source,

LPDTWAIN_ARRAY

Array );

 

Parameters

Source

Specifies an open TWAIN Source.

 

Array

A pointer to a DTWAIN_ARRAY that will contain the types.

 

Return Values

If the function succeeds, TRUE is returned.  If the function fails, FALSE is returned.

 

Comments

The DTWAIN_EnumExtImageInfoTypes function fills the DTWAIN_ARRAY pointed to by Array with all of the extended image information supported by the Source.  This function can only be called when the DTWAIN_TN_TRANSFERDONE notification is sent, therefore this function is only available for languages that support callback functions or can intercept messages using a window handle.

 

If the return value for DTWAIN_EnumExtImageInfoTypes is FALSE, the Source may not support querying for extended image information.  The DTWAIN_ARRAY type that is used is to store the capability constants is DTWAIN_ARRAYLONG.  The values stored in the array correspond to the values found in the Extended Image Information constants.

 

 

TWAIN State Transitions

The source must be in State 7

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

DTWAIN Source Selection Function

 

DTWAIN Acquisition Function