ICEMAPISession::CreateMsgStore (Compact 7)
3/12/2014
This method creates a message store in the MAPI store.
Syntax
HRESULT CreateMsgStore (
LPCWSTR pszDisplayName,
IMsgStore ** ppMsgStore
);
Parameters
- pszDisplayName
[in] A pointer to the display name for the new message store; cannot be NULL.
- ppMsgStore
[in] A pointer to the reference to the new message store, implemented in IMsgStore.
Return Value
The following table shows the possible return values.
- S_OK
The method succeeded.
- MAPI_E_BAD_VALUE
The store name is a duplicate of an existing store.
- E_FAIL
The method failed due to an unspecified error.
- E_INVALIDARG
The method failed because one or more of the arguments is not valid.
- E_OUTOFMEMORY
The method failed because it needs more memory resources.
- E_UNEXPECTED
The method failed due to an unexpected error.
Requirements
Header |
cemapi.h |
Library |
cemapi.lib |