INT GetTransferStatus( |
|
LPHTTPTRANSFERSTATUS lpStatus |
|
); |
INT GetTransferStatus( |
|
LPHTTPTRANSFERSTATUSEX lpStatus |
|
); |
The GetTransferStatus method returns information about the
current data transfer in progress.
Parameters
- lpStatus
- A pointer to an HTTPTRANSFERSTATUS or HTTPTRANSFERSTATUSEX
structure which contains information about the status of the current
data transfer.
Return Value
If the method succeeds, the return value is zero. If the method
fails, the return value is HTTP_ERROR. To get extended error
information, call GetLastError.
Remarks
The GetTransferStatus method returns information about the
current data transfer, including the average number of bytes
transferred per second and the estimated amount of time until the
transfer completes. If there is no data currently being transferred,
this method will return the status of the last successful data transfer
made by the client.
In a multithreaded application, any thread in the current process
may call this method to obtain status information for the specified
client session.
Requirements
Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header File: cstools10.h
Import Library: cshtpv10.lib
See Also
EnableEvents,
GetStatus,
RegisterEvent,
HTTPTRANSFERSTATUS,
HTTPTRANSFERSTATUSEX
|