Share via


IRTCMediaRequestEvent::RemotePreferredSecurityLevel (Windows Embedded CE 6.0)

1/6/2010

This method gets the level of encryption for the supplied media stream type.

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 required 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 media request 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

IRTCMediaRequestEvent
RTC_SECURITY_LEVEL
RTC_SECURITY_TYPE