DTWAIN_IsDeviceOnline

Top  Previous  Next

The DTWAIN_IsDeviceOnline function checks if a Source is online (ready to acquire images).

 

DTWAIN_BOOL DTWAIN_IsDeviceOnline ( DTWAIN_SOURCE Source );

 

 

Parameters

Source

Specifies an open TWAIN Source.

 

Return Value

Returns TRUE if the Source is on-line, FALSE if device is off-line, the online status cannot be determined, or an error occurs.

 

Comments

The DTWAIN_IsDeviceOnline function determines if a Source is on-line.  It is up to the TWAIN Source to consider whether a Source is on or off line.  An on-line Source usually means that the Source is ready to acquire images.

 

TWAIN State Transitions

The source must be opened in State 4

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

DTWAIN Source Selection Function