DTWAIN_IsSourceAcquiringEx

Top  Previous  Next

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

 

LONG DTWAIN_IsSourceAcquiringEx (

DTWAIN_SOURCE

Source,

DTWAIN_BOOL

TestUIOnly );

 

 

Parameters

Source

Specifies a TWAIN Source.

 

TestUIOnly

Specifies whether to test if the Source is showing the "UI Only dialog.


Return Values

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

 

Comments

The DTWAIN_IsSourceAcquiringEx has similar functionality as DTWAIN_IsSourceAcquiring in that this function will test if the Source's user interface is being displayed.  


The one difference between DTWAIN_IsSourceAcquiringEx and DTWAIN_IsSourceAcquiring is if the TestUIOnly parameter is TRUE, the test for the user interface being displayed will only apply when the user interface is in "Show UI Only" mode (see DTWAIN_ShowUIOnly).  If the TestUIOnly value is FALSE, the function will work exactly the same as DTWAIN_IsSourceAcquiriing.

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

Acquiring Images