IMSVidInputDevices::get_Item method (segment.h)
[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]
The get_Item method retrieves the specified item from the collection.
Syntax
HRESULT get_Item(
[in] VARIANT v,
[out] IMSVidInputDevice **pDB
);
Parameters
[in] v
VARIANT that specifies the index of the item to retrieve.
[out] pDB
Address of a variable that receives an IMSVidInputDevice interface pointer.
Return value
Returns an HRESULT value. Possible values include the following.
Return code | Description |
---|---|
|
Success. |
|
The index is out of range. |
|
Wrong VARIANT type. |
|
NULL pointer argument. |
|
Unexpected error. |
Remarks
The v parameter must be a VARIANT that contains an integer type (VT_I4). The valid range is from 0 to IMSVidInputDevices::get_Count() - 1
.
If the method succeeds, the IMSVidInputDevice interface has an outstanding reference count. The caller must release the interface.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows�XP [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | segment.h (include Msvidctl.h) |