DTWAIN_IsAcquiring

Top  Previous  Next

The DTWAIN_IsAcquiring function determines whether a Source is opened for acquisitions.

 

DTWAIN_BOOL DTWAIN_IsAcquiring( );

 

Parameters

None.

 

Return Values

If the function succeeds, TRUE is returned.  If the function fails FALSE is returned.

 

Comments

The DTWAIN_IsAcquiring function returns TRUE if any Source is still in the process of acquiring an image (In TWAIN State 7).  If there are no Sources acquiring an image or if there is an error, FALSE is returned.

 

DTWAIN_IsAcquiring can be used to check if it is safe to acquire an image (the Source is idle), or if the application should close.  An application must not close down if any Source is acquiring an image.

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

DTWAIN_IsSourceAcquiring