Contents Index Topic Contents | ||
Previous Topic: IAddrBook::GetSearchPath Next Topic: IAddrBook::OpenEntry |
IAddrBook::NewEntry
HRESULT NewEntry( ULONG ulUIParam, ULONG ulFlags, ULONG cbEIDContainer, LPENTRYID lpEIDContainer, ULONG cbEIDNewEntryTpl, LPENTRYID lpEIDNewEntryTpl, ULONG FAR * lpcbEIDNewEntry, LPENTRYID FAR * lppEIDNewEntry );Adds a new entry to the address book.
- Returns S_OK if the new address book entry was successfully created.
- ulUIParam
- Handle of the parent window for the dialog box.
- ulFlags
- Reserved; must be zero.
- cbEIDContainer
- Size, in bytes, for the entry identifier pointed to by the lpEIDContainer parameter.
- lpEIDContainer
- Entry identifier of the container where the new address is to be created. If NULL, creates the entry in the root container. This is different than the MAPI IAddrBook::NewEntry method.
- cbEIDNewEntryTpl
- Not supported by Internet Explorer Address Book; must be zero.
- lpEIDNewEntryTpl
- Not supported by Internet Explorer Address Book; must be NULL.
- lpcbEIDNewEntry
- Address for the value indicating the size, in bytes, for the entry identifier pointed to by the lppEIDNewEntry parameter.
- lppEIDNewEntry
- Returned entry identifier of the new entry.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.