다음을 통해 공유


PidTagIpmDraftsEntryId Canonical Property

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Contains the EntryID of the Outlook Drafts folder.

Associated properties:

PR_IPM_DRAFTS_ENTRYID

Identifier:

0x36D7

Data type:

PT_BINARY

Area:

Folder

Remarks

This property is stored in the Inbox folder as well as the root folder of the message store. To access the property on a specific message store, do the following:

  1. First, look for the property in the Inbox folder. Use IMsgStore::GetReceiveFolder to obtain a reference to the EntryID for the Inbox folder.

  2. If IMsgStore::GetReceiveFolder is successful, then use the reference to the EntryID of the Inbox and IMsgStore::OpenEntry to open the Inbox and obtain a reference to an IMAPIFolder object.

  3. If IMsgStore::OpenEntry is successful, then use the returned reference to the IMAPIFolder object and IMAPIProp::GetProps to obtain the desired property.

  4. If Step 1, 2, or 3 fails, look for the property in the root folder. To do that, use IMsgStore::OpenEntry, specifying NULL for lpEntryID, to open the root folder of the message store and obtain a reference to the IMAPIFolder object.

  5. If opening the root folder is successful, then use the returned reference to the IMAPIFolder object and IMAPIProp::GetProps to obtain the desired property.

Protocol Specifications

  • [MS-OXPROPS]
    Provides references to related Exchange Server protocol specifications.

  • [MS-OXOSFLD]
    Specifies the properties and operations for creating and locating the special folders in a mailbox.

Header Files

  • Mapidefs.h
    Provides data type definitions.

  • Mapitags.h
    Contains definitions of properties listed as alternate names.

See Also

Concepts

MAPI Properties

MAPI Canonical Properties

Mapping Canonical Property Names to MAPI Names

Mapping MAPI Names to Canonical Property Names