IMAPISupport::WrapStoreEntryID
The IMAPISupport::WrapStoreEntryID
method converts a message store s internal entry identifier to an entry
identifier in MAPI s standard format.
Quick Info
See IMAPISupport
: IUnknown
HRESULT WrapStoreEntryID(
ULONG cbOrigEntry, |
|
LPENTRYID lpOrigEntry, |
|
ULONG FAR * lpcbWrappedEntry, |
|
LPENTRYID FAR * lppWrappedEntry |
|
) |
|
Parameters
cbOrigEntry
[in] Count of
bytes in the entry identifier pointed to by the lpOrigEntry parameter.
lpOrigEntry
[in] Pointer
to the private entry identifier for the message store.
lpcbWrappedEntry
[out] Pointer
to the count of bytes in the entry identifier pointed to by the lppWrappedEntry
parameter.
lppWrappedEntry
[out] Pointer
to a pointer to the wrapped entry identifier.
Return Values
S_OK
The entry
identifier was successfully wrapped.
Remarks
The IMAPISupport::WrapStoreEntryID
method is implemented for all service provider support objects. Service providers
use WrapStoreEntryID to have MAPI generate an entry identifier for a
message store that wraps the store s internal entry identifier.
Notes to Callers
When a client
calls your message store s IMAPIProp::GetProps method to retrieve its PR_STORE_ENTRYID
Calls to the IMSProvider::Logon
Free the
memory for the entry identifier pointed to by the lppWrappedEntry
parameter using the MAPIFreeBuffer
See Also