'Declaration
Public Function TwainGetCapQuerySupport( _ ByVal Cap As TwainCapabilities, _ ByRef SupportGet As Boolean, _ ByRef SupportSet As Boolean, _ ByRef SupportGetDefault As Boolean, _ ByRef SupportGetCurrent As Boolean, _ ByRef SupportReset As Boolean _ ) As Boolean
public bool TwainGetCapQuerySupport( TwainCapabilities Cap, ref bool SupportGet, ref bool SupportSet, ref bool SupportGetDefault, ref bool SupportGetCurrent, ref bool SupportReset )
public function TwainGetCapQuerySupport( Cap: TwainCapabilities; var SupportGet: Boolean; var SupportSet: Boolean; var SupportGetDefault: Boolean; var SupportGetCurrent: Boolean; var SupportReset: Boolean ): Boolean;
public function TwainGetCapQuerySupport( Cap : TwainCapabilities, SupportGet : boolean, SupportSet : boolean, SupportGetDefault : boolean, SupportGetCurrent : boolean, SupportReset : boolean ) : boolean;
public: bool TwainGetCapQuerySupport( TwainCapabilities Cap, ref bool SupportGet, ref bool SupportSet, ref bool SupportGetDefault, ref bool SupportGetCurrent, ref bool SupportReset )
public: bool TwainGetCapQuerySupport( TwainCapabilities Cap, bool% SupportGet, bool% SupportSet, bool% SupportGetDefault, bool% SupportGetCurrent, bool% SupportReset )
Parameters
- Cap
- A member of the TwainCapabilities enumeration.
- SupportGet
- Returns if the source supports Get query with the specified capability.See TwainGetCapCurrentNumeric() and TwainGetCapCurrentString().
- SupportSet
- Returns if the source supports Set query with the specified capability. See TwainSetCapCurrentNumeric() and TwainSetCapCurrentString().
- SupportGetDefault
- Returns if the source supports GetDefault query with the specified capability. See TwainGetCapDefaultNumeric() and TwainGetCapDefaultString().
- SupportGetCurrent
- Returns if the source supports GetCurrent query with the specified capability. See TwainGetCapCurrentNumeric() and TwainGetCapCurrentString().
- SupportReset
- Returns if the source supports Reset query with the specified capability. See: TwainResetCap().
Return Value
True if success, else False -> Use TwainGetLastResultCode() and TwainGetLastConditionCode()
methods for diagnosing the error.