DTWAIN_EnumMaxBuffersEx

Top  Previous  Next

The DTWAIN_EnumMaxBuffersEx function gets all of the possible values that the Source can use to set the maximum number of pages to buffer when aquiring images.

 

DTWAIN_ARRAY DTWAIN_EnumMaxBuffersEx (

DTWAIN_SOURCE

Source,

DTWAIN_BOOL

bExpandRange );

 

Parameters

Source

An open TWAIN Source.

  

bExpandRange

Flag that determines whether the values will be expanded if the Source stores them in a TW_RANGE.

 

Return Values

A DTWAIN_ARRAY that will be filled with the available values that the Source supports for maximum number of pages to buffer.

 

Comments

The DTWAIN_EnumMaxBuffersEx performs the same functions as DTWAIN_EnumMaxBuffers, with the only difference being that the DTWAIN_ARRAY is returned instead of the client having to provide a pointer to a DTWAIN_ARRAY.  

 

TWAIN State Transitions

The Source must be in State 4 or higher

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

DTWAIN Source Selection Function