Share via


PR_IPM_DRAFTS_ENTRYID

PR_IPM_DRAFTS_ENTRYID

Contains the entry ID of the Outlook Drafts folder.

Quick Info

Exposed by: Message store objects
Identifier: 0x36D7
Property type: PT_BINARY
Property tag: 0x36D70102
Access: Read-only

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 entry ID for the Inbox folder.
  2. If IMsgStore::GetReceiveFolder is successful, then use the reference to the entry ID 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.

See Also

About MAPI Additions

Opening a Folder

PR_IPM_APPOINTMENT_ENTRYID

PR_IPM_CONTACT_ENTRYID

PR_IPM_JOURNAL_ENTRYID

PR_IPM_NOTE_ENTRYID

PR_IPM_TASK_ENTRYID