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:
- First, look for the property in the Inbox folder. Use IMsgStore::GetReceiveFolder to obtain a reference to the entry ID for the Inbox folder.
- 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.
- If IMsgStore::OpenEntry is successful, then use the returned reference to the IMAPIFolder object and IMAPIProp::GetProps to obtain the desired property.
- 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.
- If opening the root folder is successful, then use the returned reference to the IMAPIFolder object and IMAPIProp::GetProps to obtain the desired property.