Platform SDK: MAPI

IABContainer::DeleteEntries

The IABContainer::DeleteEntries method removes one or more entries, typically messaging users, distribution lists, or other containers.

Quick Info

See IABContainer : IMAPIContainer.

HRESULT DeleteEntries(
  LPENTRYLIST lpEntries,   
  ULONG ulFlags            
);
 

Parameters

lpEntries
[in] Pointer to an array of ENTRYLIST structures containing entry identifiers representing the entries being deleted.
ulFlags
Reserved; must be zero.

Return Values

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 warning is returned, the call should be handled as successful. To test for this warning, use the HR_FAILED macro. See Using Macros for Error Handling.