IMSVidOutputDevices::Remove Method
This topic applies to Windows XP or later.
The Remove method removes an item from the collection.
HRESULT Remove(
[in] VARIANT v
);
- v [in]
VARIANT that specifies the index of the item to remove.
Returns an HRESULT value. Possible values include the following.
Return code | Description |
---|---|
S_OK |
Success. |
DISP_E_BADINDEX |
The index is out of range. |
DISP_E_TYPEMISMATCH |
Wrong VARIANT type. |
E_ACCESSDENIED |
The collection is read-only; cannot remove any items. |
E_UNEXPECTED |
Unexpected error. |
The v parameter must be a VARIANT that contains an integer type (VT_I4). The valid range is from 0 to IMSVidOutputDevices::get_Count - 1
.
Header | Declared in Dshow.h. |
DLL | Requires Quartz.dll. |
IMSVidOutputDevices Interface
IMSVidOutputDevices::Add
Send comments about this topic to Microsoft
Build date: 12/4/2008