ITMediaCollection::Delete method

[ Rendezvous IP Telephony Conferencing controls and interfaces are not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. The RTC Client API provides similar functionality.]

The Delete method deletes the media corresponding to the specified index.

Syntax

HRESULT Delete(
  [in] LONG Index
);

Parameters

Index [in]

Index of media to be deleted.

Return value

This method can return one of these values.

Return code Description
S_OK
Method succeeded.
E_INVALIDARG
The Index parameter has a value less than 1 or greater than the current number of elements.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.
E_FAIL
Internal error (should only occur if a previous call returned an error).
E_NOTIMPL
This method is not yet implemented.
HRESULT_FROM_ERROR_CODE(SDPBLB_CONF_BLOB_DESTROYED)
The SDP blob doesn't exist.

Remarks

Most C and C++ lists are 0-based, but this index is 1-based for Visual Basic compatibility, meaning the first item has an index number of 1.

Requirements

Requirement Value
TAPI version
Requires TAPI 3.0 or later
Header
Sdpblb.h
Library
Uuid.lib
DLL
Sdpblb.dll

See also

ITMediaCollection