Export (0) Print
Expand All

IABContainer::DeleteEntries

Last modified: July 23, 2011

Applies to: Outlook

Removes one or more entries, typically messaging users, distribution lists, or other containers.

HRESULT DeleteEntries(
  LPENTRYLIST lpEntries,
  ULONG ulFlags
);

lpEntries

[in] A pointer to an array of ENTRYLIST structures that contain entry identifiers that represent the entries being deleted.

ulFlags

[in] Reserved; must be zero.

S_OK

The specified entries have been successfully deleted.

MAPI_W_PARTIAL_COMPLETION

The call succeeded, but one or more of the entries could not be deleted. When this value is returned, the call should be handled as successful. To test for this value, use the HR_FAILED macro. For more information, see Using Macros for Error Handling.

For MFCMAPI sample code, see the following table.

File

Function

Comment

Abdlg.cpp

CabDlg::OnDeleteSelectedItem

MFCMAPI uses the DeleteEntries method to delete a specific entry from an address book container.

Show:
© 2015 Microsoft