POPTRANSFERSTATUS Structure  
 

This structure is used by the GetTransferStatus method to return information about a message transfer in progress.

typedef struct _POPTRANSFERSTATUS
{
   UINT    nMessageId;
   DWORD   dwBytesTotal;
   DWORD   dwBytesCopied;
   DWORD   dwBytesPerSecond;
   DWORD   dwTimeElapsed;
   DWORD   dwTimeEstimated;
} POPTRANSFERSTATUS, *LPPOPTRANSFERSTATUS;

Members

nMessageId
The message ID of the current message that is being transferred.
dwBytesTotal
The total number of bytes that will be transferred. If the message is being copied from the server to the local host, this is the size of the message on the server. If the message is being posted to the server, it is the size of message on the local system. If the message size cannot be determined, this value will be zero.
dwBytesCopied
The total number of bytes that have been copied.
dwBytesPerSecond
The average number of bytes that have been copied per second.
dwTimeElapsed
The number of seconds that have elapsed since the transfer started.
dwTimeEstimated
The estimated number of seconds until the transfer is completed. This is based on the average number of bytes transferred per second.

Requirements

Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header File: cstools10.h