IRTCWatcher2::get_Profile

The get_Profile property returns the profile currently used by the watcher.

HRESULT get_Profile(IRTCProfile**ppProfile);

Parameters

  • ppProfile
    [out] Returns a pointer to the IRTCProfile interface. This call adds a reference to the interface, which the caller is responsible for releasing.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
RTC_E_NOT_EXIST The watcher is not attached to any profile.
E_POINTER The ppProfile parameter is not a valid pointer.

Requirements

Redistributable: Requires Rtcdll.dll on Windows 2000, Windows XP, and Windows Server 2003.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCWatcher2 is defined as D4D9967F-D011-4b1d-91E3-ABA78F96393D.

See Also

IRTCWatcher2, IRTCWatcher