DTWAIN_EnumPaperSizesEx

Top  Previous  Next

The DTWAIN_EnumPaperSizesEx function returns the available paper sizes values that are supported for the Source.

 

DTWAIN_ARRAY DTWAIN_EnumPaperSizesEx ( DTWAIN_SOURCE Source );

 

Parameters

Source

An open TWAIN Source.

 

Return Values

If successful, a DTWAIN_ARRAY that will store the available paper sizes.  NULL is returned on failure.  If the function fails, call DTWAIN_GetLastError() to get extended information.

 

Comments

The DTWAIN_EnumPaperSizesEx function has the same functionality as DTWAIN_EnumPaperSizes, except that the DTWAIN_ARRAY is returned to the caller instead of the caller providing a pointer to a DTWAIN_ARRAY as a parameter.

 

TWAIN State Transitions

The source must be opened in State 4

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

DTWAIN Source Selection Function

 

 

See Also

Setting / Getting Paper Sizes