Platform SDK: MAPI

IMAPIMessageSite::GetStore

The IMAPIMessageSite::GetStore method returns the message store containing the current message, if such a store exists. This method will return NULL in the ppStore parameter for embedded messages, which are stored within another message rather than directly in a message store.

Quick Info

See IMAPIMessageSite : IUnknown.

HRESULT GetStore(
  LPMDB FAR * ppStore  
);
 

Parameters

ppStore
[out] Pointer to a pointer to the message store.

Return Values

S_OK
The call succeeded and has returned the expected value or values.
S_FALSE
There is no store containing the message.

Remarks

For a list of interfaces related to form servers, see MAPI Form Interfaces.