The GetClient method returns a handle to the
current client session.
Parameters
None.
Return Value
If the method succeeds, the return value a handle to a client
session. If the method fails, it will return INVALID_CLIENT.
To get extended error information, call GetLastError.
Remarks
The GetClient method returns the handle to a client session
which may be used with other methods. A valid handle will only be returned if
the queue manager is currently uploading or downloading a file.
If the queue is active but there are no file transfers in progress
at the time this method is called, it will fail and set the last
error code to ST_ERROR_NO_QUEUED_TRANSFER.
Requirements
Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: csftpv12.lib
See Also
|