CWebStorage::GetTransferStatus Method  
 
  LPWEB_STORAGE_TRANSFER lpStatus  
);

The GetTransferStatus method returns information about the current data transfer in progress.

Parameters

lpStatus
A pointer to a WEB_STORAGE_TRANSFER structure which contains information about the status of the current data transfer.

Return Value

If the method succeeds, the return value is non-zero. If the method fails, the return value is zero. To get extended error information, call the GetLastError method.

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.

In a multithreaded application, any thread in the current process may call this method to obtain status information for the storage 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: cswebv10.lib
Unicode: Implemented as Unicode and ANSI versions.

See Also

Cancel, GetData, PutData, RegisterEvent