Share via


IRTCWatcher2::Profile (Windows Embedded CE 6.0)

1/6/2010

Note

This method is unsupported in Windows Embedded CE 6.0.

This method gets the profile currently used by the watcher.

Syntax

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 Value

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

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

See Also

Reference

IRTCWatcher2
IRTCProfile2