IRTCPresenceStatusEvent::GetLocalPresenceInfo
Other versions of this page are also available for the following:
8/28/2008
Note
This method is unsupported in Windows Embedded CE 6.0.
This method retrieves information about the local presence.
Syntax
HRESULT GetLocalPresenceInfo(
RTC_PRESENCE_STATUS* penStatus,
BSTR* pbstrNotes
);
Parameters
- penStatus
[out] Pointer to an RTC_PRESENCE_STATUS enumeration value specifying the presence status.
- pbstrNotes
[out] Pointer to a BSTR that will be filled with the information. 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. The following table shows additional possible return values.
Value | Meaning |
---|---|
E_OUTOFMEMORY |
Insufficient memory to perform this operation. |
E_POINTER |
The penStatus or pbstrNotes parameter is not a valid pointer. |
Requirements
Header | rtccore.h, rtccore.idl |
Library | rtcdll.dll |
Windows Embedded CE | Windows CE .NET 4.2 and later |
See Also
Reference
IRTCPresenceStatusEvent
RTC_PRESENCE_STATUS