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.





In This Topic

TwainGetCurrentSourceName(Int32) Method

In This Topic
Returns the name of the opened source.
Syntax
'Declaration

 

Public Overloads Function TwainGetCurrentSourceName( _

   ByVal HANDLE As Integer _

) As String
public string TwainGetCurrentSourceName( 

   int HANDLE

)
public function TwainGetCurrentSourceName( 

    HANDLE: Integer

): String; 
public function TwainGetCurrentSourceName( 

   HANDLE : int

) : String;
public: string* TwainGetCurrentSourceName( 

   int HANDLE

) 
public:

String^ TwainGetCurrentSourceName( 

   int HANDLE

) 

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.

Return Value

The current source name.
Remarks
Before using this method check that the TWAIN state is >= 4 (TWAIN_SOURCE_OPEN) To get the TWAIN state, use the TwainGetState() method.
See Also