get_Status

The get_Status method returns the presence status of the device as specified in the RTC_PRESENCE_STATUS enumeration. This method returns the status set in the IRTCClientPresence::SetLocalPresenceInfo method.

HRESULT get_Status(RTC_PRESENCE_STATUS* penstatus);

Parameters

  • penstatus
    Pointer to an RTC_PRESENCE_STATUS enumeration containing the presence status of the specified device.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
E_POINTER The penStatus 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_IRTCPresenceDevice is defined as BC6A90DD-AD9A-48da-9B0C-2515E38521AD.

See Also

IRTCPresenceDevice, IRTCEnumPresenceDevices, Retrieve Presence Information