ITMediaCollection::get_Item 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 get_Item method gets an ITMedia pointer corresponding to the specified index.
Syntax
HRESULT get_Item(
[in] LONG Index,
[out] ITMedia **pVal
);
Parameters
-
Index [in]
-
Index of media item to get.
-
pVal [out]
-
Pointer to the ITMedia interface for the desired item.
Return value
This method can return one of these values.
Value | Meaning |
---|---|
|
Method succeeded. |
|
The pVal parameter is not a valid pointer. |
|
The Index parameter is not valid. |
|
Insufficient memory exists to perform the operation. |
|
Unspecified error. |
|
This method is not yet implemented. |
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 |
|
Library |
|
DLL |
|