HDRSYNC

Applies to: Outlook 2013 | Outlook 2016

Information for synchronizing a message header during the download message header state.

Quick info

struct HDRSYNC 
{ 
    UPMSG *pupmsg; 
    FEID feidPar; 
    LPSTREAM pstmReserved; 
    ULONG ulFlags; 
    LPMESSAGE pmsgFull; 
};

Members

pupmsg

  • [out] Information for the current message header in the local store.

feidPar

  • [out] Entry ID for the parent folder of the message item.

pstmReserved

  • [out] This member is reserved for the internal use of Outlook and is not supported.

ulFlags

  • [in] Flags to modify behavior:

  • HSF_LOCAL

    • [in] Full item resides in the same local store as the header item.
  • HSF_COPYDESTRUCTIVE

    • [in] Optimize internal copy operations. This might cause data loss. HSF_LOCAL must be set.
  • HSF_OK

    • [in] Header synchronization was successful. The client sets this after downloading information from the server.

      pmsgFull

    • [in] The full message item including the message header downloaded from the server. See mapidefs.h for the type definition of LPMESSAGE.

See also

About the Replication API

About the Replication State Machine

MAPI Constants

FEID