Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This topic applies to Windows XP or later.
The get_Item method retrieves the specified item from the collection.
Syntax
HRESULT get_Item(
[in] VARIANT v,
[out] IMSVidAudioRenderer **ppDB
);
Parameters
v [in]
VARIANT that specifies the index of the item to retrieve.ppDB [out]
Address of a variable that receives an IMSVidAudioRenderer interface pointer.
Return Value
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_POINTER |
NULL pointer argument. |
E_UNEXPECTED |
Unexpected error. |
Remarks
The v parameter must be a VARIANT that contains an integer type (VT_I4). The valid range is from 0 to IMSVidAudioRendererDevices::get_Count
- 1.
If the method succeeds, the IMSVidAudioRenderer interface has an outstanding reference count. The caller must release the interface.
Requirements
Header | Declared in Dshow.h. |
DLL | Requires Quartz.dll. |
See Also
IMSVidAudioRendererDevices Interface
Send comments about this topic to Microsoft
Build date: 12/4/2008