DTWAIN_EnumTwainPrintersEx

Top  Previous  Next

The DTWAIN_EnumTwainPrintersEx function gets all of the imprinter/endorser types supported by a Source.

 

DTWAIN_ARRAY DTWAIN_EnumTwainPrinters ( DTWAIN_SOURCE Source );

 

Parameters

Source

An open TWAIN Source.

 

Return Values

If successful, a DTWAIN_ARRAY that will store the TWAIN endorser/printer types.  NULL is returned on failure.  If the function fails, call DTWAIN_GetLastError() to get extended information.

 

Comments

The DTWAIN_EnumTopCamerasEx function has the same functionality as DTWAIN_EnumTwainPrinters, 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 in State 4 or higher

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

DTWAIN Source Selection Function

DTWAIN_OpenSource

 

See Also

Imprinter / Endorser Support