共用方式為


UPMSG

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Information for uploading an Outlook item during the upload message state.

Quick Info

struct UPMSG 
{ 
    ULONG ulFlags; 
    LPMESSAGE pmsg; 
    MEID meid; 
    SBinary binReserved1; 
    SBinary binReserved2; 
    FEID feid; 
    SBinary binChg; 
    SBinary binPcl; 
    SKEY skeySrc; 
};

Members

  • ulFlags
    [out]/[in] Flags to determine appropriate behavior during the upload.

    • UPM_ASSOC

      • [out] Item is associated.
    • UPM_NEW

      • [out] New item.
    • UPM_MOV

      • [out] Item was moved here.
    • UPM_MOD_PROPS

      • [out] Item properties were modified.
    • UPM_HEADER

      • [out] Item is a message header.
    • UPM_OK

      • [in] Upload was successful. The client sets this after uploading information to the server.
    • UPM_MOVED

      • [in] Item was moved successfully.
    • UPM_COMMIT

      • [in] Commit upload state now.
    • UPM_DELETE

      • [in] Delete item now.
    • UPM_SAVE

      • [in] Save changes to the item.
  • pmsg
    [out] Open item object. See mapidefs.h for the type definition of LPMESSAGE.

  • meid
    [out] Entry ID of item.

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

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

  • feid
    [out] Entry ID of the source folder, if item was moved.

  • binChg
    [out] Change key of the destination item, if item was moved. See mapidefs.h for the type definition of SBinary.

  • binPcl
    [out] Change list of the destination item, if item was moved. See mapidefs.h for the type definition of SBinary.

  • skeySrc
    [out] Source key of the source item, if item was moved.

See Also

Concepts

About the Replication API

About the Replication State Machine

MAPI Constants

FEID

MEID

SKEY