Parameters
- Cap
- A member of the TwainCapabilities enumeration.
Return Value
If Success, non zero: Number of values available for the selected TWAIN capability. Else 0 if fail ->
Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.