'Declaration
Public Overloads Function TwainOpenSource( _ ByVal HANDLE As Integer, _ ByVal SourceName As String _ ) As Boolean
public bool TwainOpenSource( int HANDLE, string SourceName )
public function TwainOpenSource( HANDLE: Integer; SourceName: String ): Boolean;
public function TwainOpenSource( HANDLE : int, SourceName : String ) : boolean;
public: bool TwainOpenSource( int HANDLE, string* SourceName )
public: bool TwainOpenSource( int HANDLE, String^ SourceName )
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.
- SourceName
- The name of the source to open.
Return Value
True if success, else False -> Use TwainGetLastResultCode() and TwainGetLastConditionCode()
methods for diagnosing the error.