Platform SDK: TAPI |
Deletes the media corresponding to the specified index.
HRESULT Delete( LONG Index );
Value | Meaning |
---|---|
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. |
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.
Windows NT/2000: Requires Windows 2000.
Version: Requires TAPI 3.0 or later.
Header: Declared in Sdpblb.h.
Library: Use Sdpblbid.lib.