Delphi (TrkIntf.pas)
function TrkConnectSv( Name, Password: String; ExpiresAfter: Integer; var Handle: Cardinal ): Integer;
Parameters
|
Name
|
Description
|
|
Name
|
The username to login using
|
|
Password
|
The password associated with the user
|
|
ExpiresAfter
|
The number of milliseconds that the handle returned by this function is valid for. If the user is inactive for this period, they will automatically be disconnected.
|
|
Handle (Out)
|
If the login is successful, a handle will be returned that can be used in calls to the other API functions.
|
Return Value
Err_OK if successful or an error code indicating the error.
Remarks
This function should be called before any other function.
Exported
| function TCDSTrkConnect( pName, pPassword: PChar; ExpiresAfter: Integer; var Handle: Cardinal ): Integer; stdcall;
|
© 1995-2011 Quality Software Components Ltd