IRTCClientPresence2::SetPresenceData (Windows Embedded CE 6.0)
1/6/2010
Note
This method is unsupported in Windows Embedded CE 6.0.
This method sets application-specific data to be included in the presence document.
Syntax
HRESULT SetPresenceData(
BSTR bstrNamespace,
BSTR bstrData
);
Parameters
bstrNamespace
[in] A unique name for the presence property data.Typically, this parameter contains the XML namespace if the format of the presence data set is an XML document.
- bstrData
[in] Application-specific information to include in the presence document.
Return Value
This method can return an RTC_E_ constant.
The following table shows additional possible return values.
Value | Meaning |
---|---|
E_INVALIDARG |
The size of the bstrData parameter is too large. This parameter is limited to 65,535 characters. |
E_OUTOFMEMORY |
Insufficient memory to perform this operation. |
Remarks
The presence data is not set in the presence document when the registrar server specifies the UDP transport.
Multiple points of presence (MPOP) and roaming are not supported.
Requirements
Header | rtccore.h, rtccore.idl |
Library | uuid.lib |
Windows Embedded CE | Windows CE .NET 4.2 and later |