Share via


SYNCPROGRESSITEM

The SYNCPROGRESSITEM structure describes the progress information reported by the transport to Messaging.

Syntax

typedef struct _SYNCPROGRESSITEM {
  ULONG cbSize;
  DWORD mask;
  LPCWSTR pwszStatusText;
  DWORD dwStatusType;
  ULONG ulProgValue;
  ULONG ulMaxValue;
  ULONG ulTotalNewMail;
  ULONG cbIdNewMsg;
  LPENTRYID pidNewMsg;
} SYNCPROGRESSITEM;

Members

  • cbSize
    Size in bytes of the SYNCPROGRESSITEM structure.

  • mask
    Bitmask indicating which fields in the structure are valid. The bitmask is created from the constants listed in the following table.

    Constant Value
    SYNCPROGRESSITEM_STATUSTEXT 0x0001
    SYNCPROGRESSITEM_STATUSTYPE 0x0002
    SYNCPROGRESSITEM_PROGVALUE 0x0004
    SYNCPROGRESSITEM_MAXVALUE 0x0008
    SYNCPROGRESSITEM_DISCONNECTED 0x0010
    SYNCPROGRESSITEM_TOTAL_NEW_MAIL 0x0020
    SYNCPROGRESSITEM_NEW_MESSAGE 0x0040
  • pwszStatusText
    Constant string describing the status.

  • dwStatusType
    Not used; set to zero.

  • ulProgValue
    Current message being downloaded.

  • ulMaxValue
    Total number of messages being downloaded.

  • ulTotalNewMail
    Not used; set to zero.

  • cbIdNewMsg
    Not used; set to zero.

  • pidNewMsg
    Not used; set to zero.

Requirements

Pocket PC: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: cemapi.h

See Also

IMailSyncCallBack::Progress

MAPI Structures

Messaging

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.