GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / TwainGetSourceVersionInfo Method / TwainGetSourceVersionInfo(IntPtr,Int32,Int32,Int32,TwainLanguage,TwainCountry,String) Method
A Window Handle IE: Me.Handle. In most applications you can use nothing but on Citrix and WTS, this must be a top-level window or a child of a top level window.
The number of the source. Must be value between 1 and TwainGetSourceCount() return. If the value provided in not in the expected range a TwainError status is returned by a subsequent call of the GetStat() method.
Returns Major revision number of the software.
Incremental revision number of the software.
Returns the language of the driver. A member of the TwainLanguage enumeration.
Returns the origin country of the diver. A member of the TwainCountry enumeration.
Returns the driver info. IE: "1.0b3 Beta release".





In This Topic
TwainGetSourceVersionInfo(IntPtr,Int32,Int32,Int32,TwainLanguage,TwainCountry,String) Method
In This Topic
Returns the version information of an available TWAIN source.
Syntax
'Declaration
 
Public Overloads Function TwainGetSourceVersionInfo( _
   ByVal HANDLE As IntPtr, _
   ByVal SourceNo As Integer, _
   ByRef MajorNum As Integer, _
   ByRef MinorNum As Integer, _
   ByRef Language As TwainLanguage, _
   ByRef Country As TwainCountry, _
   ByRef Info As String _
) As GdPictureStatus
public GdPictureStatus TwainGetSourceVersionInfo( 
   IntPtr HANDLE,
   int SourceNo,
   ref int MajorNum,
   ref int MinorNum,
   ref TwainLanguage Language,
   ref TwainCountry Country,
   ref string Info
)
public function TwainGetSourceVersionInfo( 
    HANDLE: IntPtr;
    SourceNo: Integer;
   var  MajorNum: Integer;
   var  MinorNum: Integer;
   var  Language: TwainLanguage;
   var  Country: TwainCountry;
   var  Info: String
): GdPictureStatus; 
public function TwainGetSourceVersionInfo( 
   HANDLE : IntPtr,
   SourceNo : int,
   MajorNum : int,
   MinorNum : int,
   Language : TwainLanguage,
   Country : TwainCountry,
   Info : String
) : GdPictureStatus;
public: GdPictureStatus TwainGetSourceVersionInfo( 
   IntPtr HANDLE,
   int SourceNo,
   ref int MajorNum,
   ref int MinorNum,
   ref TwainLanguage Language,
   ref TwainCountry Country,
   ref string* Info
) 
public:
GdPictureStatus TwainGetSourceVersionInfo( 
   IntPtr HANDLE,
   int SourceNo,
   int% MajorNum,
   int% MinorNum,
   TwainLanguage% Language,
   TwainCountry% Country,
   String^% Info
) 

Parameters

HANDLE
A Window Handle IE: Me.Handle. In most applications you can use nothing but on Citrix and WTS, this must be a top-level window or a child of a top level window.
SourceNo
The number of the source. Must be value between 1 and TwainGetSourceCount() return. If the value provided in not in the expected range a TwainError status is returned by a subsequent call of the GetStat() method.
MajorNum
Returns Major revision number of the software.
MinorNum
Incremental revision number of the software.
Language
Returns the language of the driver. A member of the TwainLanguage enumeration.
Country
Returns the origin country of the diver. A member of the TwainCountry enumeration.
Info
Returns the driver info. IE: "1.0b3 Beta release".

Return Value

A member of the GdPictureStatus enumeration.
See Also