DTwainSource::GetCapContainer |
Top Previous Next |
Syntax LONG DTwainSource::GetCapContainer( LONG lCap, LONG lOperation = DTWAIN_CAPGET ) const;
Parameters lCap Capability
lOperation Capability operation
Return Value If successful, returns the TWAIN container type(s) used by the Source when getting or retrieving values. If unsuccessful, CDTwainSource::InvalidLong is returned.
Comments The container type denotes the data structure that the Source uses when setting or getting capability values. The lCap value is the capability, and the lCap is the operation type. The application does not need to know explicitly what the container is that will be used, but can be helpful to decide whether the Source uses a TW_RANGE to store values, as opposed to a TW_ARRAY.
The lOperation parameter can be one of the following:
On return of CDTwainSource::GetCapContainer, one of the following values can be returned:
|