Partager via


IRTCSessionStateChangeEvent2::RemotePreferredSecurityLevel (Windows CE 5.0)

Send Feedback

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 CE does not support video or T120 media streams.

HRESULT get_RemotePreferredSecurityLevel(RTC_SECURITY_TYPEenSecurityType,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 Values

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

OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.

See Also

IRTCSessionStateChangeEvent2 | RTC_SECURITY_LEVEL | RTC_SECURITY_TYPE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.