ITMedia::get_FormatCodes 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_FormatCodes method gets the list of media payload format codes. The variant returns a SAFEARRAY of BSTRs. Each BSTR within that array is a format code string.
Syntax
HRESULT get_FormatCodes(
[out] VARIANT *pVal
);
Parameters
-
pVal [out]
-
Array of media payload format codes.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Method succeeded. |
|
The pVal parameter is not a valid pointer. |
|
Insufficient memory exists to perform the operation. |
|
Unspecified error. |
|
This method is not yet implemented. |
Remarks
When a list of payload formats is given, this implies that all of these formats may be used in the session, but the first of these formats is the default format for the session. When the transport protocol is RTP, the format codes are RTP payload types.
Requirements
Requirement | Value |
---|---|
TAPI version |
Requires TAPI 3.0 or later |
Header |
|
Library |
|
DLL |
|