Partager via


IRTCSessionStateChangeEvent2::MediaTypes (Windows Embedded CE 6.0)

1/6/2010

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.

Syntax

HRESULT get_MediaTypes(
  long* pMediaTypes
);

Parameters

  • pMediaTypes
    [out] Pointer to an RTCMT_ constant.

Return Value

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

Header rtccore.h, rtccore.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

IRTCSessionStateChangeEvent2