Platform SDK: Exchange Server |
Most Microsoft Exchange Server interfaces are available through the MAPI extensibility mechanism for objects. To access an object with an interface other than a standard MAPI interface, you typically call the MAPI IMAPIProp::OpenProperty method and pass the appropriate property.
For example, you can obtain a stream interface on a message property such as PR_BODY. Call OpenProperty and specify the MAPI PR_BODY property and the Win32 IStream interface.
For additional information on getting a pointer to an interface, see Obtaining Microsoft Exchange Server Interfaces.
The Microsoft Exchange Server interface inheritance hierarchy is simple and straightforward. All Microsoft Exchange Server objects inherit directly from the Win32 IUnknown interface.