DTWAIN_GetLightPathEx

Top  Previous  Next

The DTWAIN_GetLightPathEx retrieves the current light path (reflective or transmissive).

 

LONG DTWAIN_GetLightPathEx ( DTWAIN_SOURCE Source );

 

Parameters

Source

An open TWAIN Source.

  

Return Values

If successful, the light path currently in use is returned.  On failure, -1 is returned.  Call DTWAIN_GetLastError() to get extended information.

 

Comments

The DTWAIN_GetLightPathEx function performs the same functionality as DTWAIN_GetLightPath, with the difference being that the light path type is returned as a LONG instead of the user providing a pointer to a LONG 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

 

 

See Also

Films and Transparencies