Share via


IRTCSessionStateChangeEvent2::get_MediaTypes

The get_MediaTypes property returns 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*plMediaTypes);

Parameters

  • plMediaTypes
    [out] Pointer to a long where an RTCMT_ flag will be returned.

Return Values

RTC methods may return an RTC_E_ constant.

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

Redistributable: Requires Rtcdll.dll on Windows 2000, Windows XP, and Windows Server 2003.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCSessionStateChangeEvent2 is defined as 4F933171-6F95-4880-80D9-2EC8D495D261.

See Also

IRTCSessionStateChangeEvent2, IRTCSessionStateChangeEvent