DTWAIN_EnumFileXferFormats

Top  Previous  Next

The DTWAIN_EnumFileXferFormats function returns the available file types that are supported for Source file transfers.

 

DTWAIN_BOOL DTWAIN_EnumFileXferFormats (

DTWAIN_SOURCE

Source,

LPDTWAIN_ARRAY

Array );

 

Parameters

Source

Specifies an open TWAIN Source.

 

lpFormats

A pointer to a DTWAIN_ARRAY that will be filled with the available file transfer formats.

 

Return Values

If file transfers are supported, TRUE is returned.  Otherwise FALSE is returned.

 

Comments

The DTWAIN_EnumFileXferFormats function takes the open Source Source, and returns to the DTWAIN_ARRAY pointed to by lpFormats a list of the supported file formats that the Source can use for file transfers.  The DTWAIN_ARRAY stores LONG values.  A list of the possible values stored in the DTWAIN_ARRAY can be found in DTWAIN File Transfer Constants

 

TWAIN State Transitions

The source must be opened in State 4

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

DTWAIN Source Selection Function

 

 

See Also

Setting File Transfer Parameters