DTWAIN_IsAudioXferSupported

Top  Previous  Next

The DTWAIN_IsAudioXferSupported function checks if a Source supports audio transfers.

 

DTWAIN_BOOL DTWAIN_IsAudioXferSupported (

DTWAIN_SOURCE

Source,

DTWAIN_LONG

TransferType );

 

Parameters

Source

Specifies an open TWAIN Source.

 

FileType

Specifies an audio transfer mechanism, or DTWAIN_ANYSUPPORT.

 

Return Values

If audio transfers are supported by the Source, TRUE is returned.  Otherwise FALSE is returned.

 

Comments

The DTWAIN_IsAudioXferSupported function takes the open Source Source, and checks if the device supports audio transfers, and if so whether TransferType is supported.


The value of TransferType can be one of the following:


Transfer Type

Definition

TWSX_NATIVE

Native transfers

TWSX_FILE

File transfers

DTWAIN_ANYSUPPORT

Native or File Transfers


Note:  Most Source's do not support audio transfers, thereby DTWAIN_IsAudioXferSupported will always return FALSE for these Sources.

 

TWAIN State Transitions

The source must be opened in State 4

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize