次の方法で共有


IRTCClientProvisioning::DisableProfile (Windows Embedded CE 6.0)

1/6/2010

This method disables a profile that was previously enabled with IRTCClientProvisioning::EnableProfile.

If the profile was registered, this method deregisters it.

Syntax

HRESULT DisableProfile(
  IRTCProfile* pProfile
);

Parameters

  • pProfile
    [in] Pointer to the IRTCProfile interface for the profile to disable.

Return Value

This method can return an RTC_E_ constant.

Remarks

Disabled profiles no longer show up in the profile list retrieved by IRTCClientProvisioning::EnumerateProfiles and IRTCClientProvisioning::Profiles.

Also, disabled profiles are not available to be selected by IRTCClient::CreateSession and IRTCClientPresence::AddBuddy.

Ee501654.security(en-US,WinEmbedded.60).gifSecurity Note:
This method can send data over the network in unencrypted form. Therefore, someone eavesdropping on the network could read the data. Before using this method in an unencrypted session, consider the security risk of sending the data in clear text. An RTC session can be encrypted by specifying TLS in the profile used for the session.

Requirements

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

See Also

Reference

IRTCClientProvisioning
IRTCClient::CreateSession
IRTCClientPresence::AddBuddy
IRTCClientProvisioning::CreateProfile
IRTCClientProvisioning::EnableProfile
IRTCClientProvisioning::EnumerateProfiles
IRTCClientProvisioning::Profiles
IRTCProfile