IRTCPresenceStatusEvent::GetLocalPresenceInfo (Windows CE 5.0)
This method retrieves information about the local presence.
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 Values
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
OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Rtcdll.dll.
See Also
IRTCPresenceStatusEvent | RTC_PRESENCE_STATUS | SysFreeString
Send Feedback on this topic to the authors