DTWAIN_IsFileXferSupported |
Top Previous Next |
The DTWAIN_IsFileXferSupported function checks if a Source supports file transfers.
DTWAIN_BOOL DTWAIN_IsFileXferSupported (
Parameters Source Specifies an open TWAIN Source.
FileType Specifies a TWAIN File Type, or DTWAIN_ANYSUPPORT.
Return Values If file transfers are supported for the given file type by the Source, TRUE is returned. Otherwise FALSE is returned.
Comments The DTWAIN_IsFileXferSupported function takes the open Source Source, and checks to see if the file type FileType, is supported when DTWAIN attempts a file transfer using the Source's internal file transfer support. The FileType can be any one of the following types defined in :DTWAIN File Transfer Constants. If FileType is DTWAIN_ANYSUPPORT, DTWAIN_IsFileXferSupported returns whether the Source supports any file transfers.
Note: Many Source's do not support file transfers, thereby DTWAIN_IsFileXferSupported will always return FALSE for these Sources.
TWAIN State Transitions The source must be opened in State 4
Prerequisite Function Call(s)
DTWAIN Source Selection Function
See Also |