Partager via


IRTCClientProvisioning::DisableProfile (Windows CE 5.0)

Send Feedback

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

If the profile was registered, this method deregisters it.

HRESULT DisableProfile(IRTCProfile* pProfile);

Parameters

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

Return Values

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.

Security 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

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

See Also

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.