Share via


IRTCPresenceDevice::PresenceProperty

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

Note

This method is unsupported in Windows Embedded CE 6.0.

This method gets the presence property of this device from the presence document. The presence property is set using IRTCClientPresence2::PresenceProperty.

Syntax

HRESULT get_PresenceProperty(
  RTC_PRESENCE_PROPERTY enProperty,
  BSTR* pbstrProperty
);

Parameters

  • enProperty
    [in] Pointer to an RTC_PRESENCE_PROPERTY enumeration value specifying the type of presence property.
  • pbstrProperty
    [out] Pointer to a BSTR that will be filled with the presence property, or an empty string if there is no entry. The method is responsible for allocating the buffer. The application is responsible for releasing this memory with SysFreeString.

Return Value

This method can return an RTC_E_ constant.

Requirements

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

See Also

Reference

IRTCPresenceDevice
IRTCClientPresence2::PresenceProperty
RTC_PRESENCE_PROPERTY

Other Resources

SysFreeString