次の方法で共有


IRTCSessionStateChangeEvent2::RemotePreferredSecurityLevel (Windows Embedded CE 6.0)

1/6/2010

This method gets the security level for the audio, video, or T120 media stream encryption.

The method is intended for sessions of type RTCST_PC_TO_PC in the RTCSS_INCOMING session state.

Windows Embedded CE does not support video or T120 media streams.

Syntax

HRESULT get_RemotePreferredSecurityLevel(
  RTC_SECURITY_TYPE enSecurityType,
  RTC_SECURITY_LEVEL* penSecurityLevel
);

Parameters

  • enSecurityType
    [in] An RTC_SECURITY_TYPE enumeration value specifying the type of media that is encrypted.
  • penSecurityLevel
    [out] Pointer to an RTC_SECURITY_LEVEL enumeration value specifying the encryption level.

Return Value

This method can return an RTC_E_ constant.

The following table shows additional information about a specific return value.

Value Meaning

RTC_E_INVALID_OBJECT_STATE

The reinvite 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
RTC_SECURITY_LEVEL
RTC_SECURITY_TYPE