IRTCWatcher2::Profile (Windows CE 5.0)
This method gets the profile currently used by the watcher.
HRESULT get_Profile( IRTCProfile2** ppProfile);
Parameters
- ppProfile
[out] Pointer to the IRTCProfile2 interface. This method adds a reference to the Profile object, which the caller is responsible for releasing.
Return Values
This method can return an RTC_E_ constant. The following table shows an additional return value and additional information about a specific return value.
Value | Meaning |
---|---|
E_POINTER | The ppProfile parameter is not a valid pointer. |
RTC_E_NOT_EXIST | The watcher is not attached to any profile. |
Requirements
OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.
See Also
IRTCWatcher2 | IRTCProfile2:IRTCProfile
Send Feedback on this topic to the authors