DTWAIN_IsCapSupported

Top  Previous  Next

The DTWAIN_IsCapSupported function checks if a Source supports a device capability.

 

DTWAIN_BOOL DTWAIN_IsCapSupported (

DTWAIN_SOURCE

Source,

LONG

Capability );

 

Parameters

Source

Specifies an open TWAIN Source.

 

Capability

Specifies the device capability to test for support.

 

Return Values

If the capability is supported, TRUE is returned.  Otherwise FALSE is returned.

 

Comments

The DTWAIN_IsCapSupported function takes the open Source Source, and checks to see if the capability Capability is supported.  If the capability is supported, TRUE is returned, otherwise FALSE is returned.  A list of the capabilities defined by TWAIN are found in the DTWAIN Capabilities By Name and Type section.

 

Note that the Source should be an opened Source.

 

TWAIN State Transitions

The source must be opened in State 4

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

DTWAIN Source Selection Function

 

See Also

Setting / Getting Twain Capabilities