IRTCSessionStateChangeEvent2::MediaTypes (Windows CE 5.0)
This method gets the media types that are available on the incoming call. This method should be called only on RTCST_PC_TO_PC sessions in the RTCSS_INCOMING state.
HRESULT get_MediaTypes( long* pMediaTypes);
Parameters
- pMediaTypes
[out] Pointer to an RTCMT_ constant.
Return Values
This method can return an RTC_E_ constant.
The following table shows an additional return value and additional information about a specific return value.
Value | Meaning |
---|---|
E_POINTER | The plMediaType parameter is not a valid pointer. |
RTC_E_INVALID_SESSION_STATE | The session is not in the incoming state. |
Requirements
OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.
See Also
Send Feedback on this topic to the authors