IAddrBook::OpenEntryIAddrBook::OpenEntry*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IAddrBook::NewEntry
*Next Topic: IAddrBook::OpenProperty

IAddrBook::OpenEntry

HRESULT OpenEntry(
    ULONG cbEntryID,
    LPENTRYID lpEntryID,
    LPCIID lpInterface,
    ULONG ulFlags,
    ULONG FAR * lpulObjType,
    LPUNKNOWN FAR * lppUnk
);

Opens a container or mail user object and returns a pointer to the object.

cbEntryID
Size, in bytes, for the entry identifier to open.
lpEntryID
Entry identifier of the object to open (NULL for the root address book container).
lpInterface
Address of the interface identifier (IID) for the object to open. Pass NULL to specify the standard interface for the object.
ulFlags
Bitmask containing the object access flags. Default is read access only. The following flags can be used for modifications:
MAPI_BEST_ACCESS Specifies to open with best available access rights.
MAPI_MODIFY Requests read/write access.
MAPI_DEFERRED_ERRORS Currently not supported by Internet Explorer Address Book.
lpulObjType
Returned object type.
lppUnk
Returned object pointer.

Back to top


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.