Freigeben über


IRTCBuddy2::Profile (Windows CE 5.0)

Send Feedback

This method gets the profile currently used by the buddy.

HRESULT get_Profile( IRTCProfile2**ppProfile);

Parameters

  • ppProfile
    [out] Pointer to the IRTCProfile2 interface. This method adds a reference to the interface, which the caller is responsible for releasing.

Return Values

This method can return an RTC_E_ constant. The following table shows additional possible return values.

Value Meaning
E_FAIL The specified profile does not support the IRTCProfile2 interface.
E_POINTER The ppProfile parameter is not a valid pointer.

Remarks

Obtaining the profile using the buddy enables the developer to determine the server on which the profile is present. A buddy's profile can exist on multiple servers, although only one may be currently active. The IRTCBuddy2::Profile method determines the server location of the profile.

Requirements

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

See Also

IRTCBuddy2 | IRTCProfile2

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.