DTWAIN_GetLightSourcesEx

Top  Previous  Next

The DTWAIN_GetLightSourcesEx retrieves the current light sources (red lamp, green lamp, ultra violet, etc.)

 

DTWAIN_ARRAY DTWAIN_GetLightSourcesEx ( DTWAIN_SOURCE Source );

 

Parameters

Source

An open TWAIN Source.

 

Return Values

If successful, the available light sources.  If the function fails, the return value is NULL.  Call DTWAIN_GetLastError() to get extended information.

 

Comments

The DTWAIN_GetLightSourcesEx performs the same functions as DTWAIN_GetLightSources, 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

 

See Also

Color Lamp Selection