IRTCSession2::SendInfo
This method sends a SIP INFO message. For this method to succeed, the session must be of type RTCST_PC_TO_PC, RTCST_PC_TO_PHONE, RTCST_MIM, or RTCST_IM.
HRESULT SendInfo(
BSTR bstrInfoHeader,
BSTR bstrInfo,
LONG_PTR lCookie
);
Parameters
- bstrInfoHeader
[in] MIME header of the SIP INFO message. - bstrInfo
[in] Body of the SIP INFO message, with the content encoded as the type specified by the MIME header. - lCookie
[in] Pointer to an application-specific cookie that can be used for pairing notifications with the information sent. The application should guarantee a unique value for this cookie.
Return Values
This method can return an RTC_E_ constant.
Remarks
This method will send the SIP INFO message to all participants in the session. An event of type RTC_SESSION_OPERATION_COMPLETE is fired for each participant in the session when the attempt to send the SIP INFO message has completed. The IRTCSessionOperationCompleteEvent2 interface is used to fire this event.
Requirements
OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.
See Also
Communications Service | IRTCSession2 | IRTCSessionOperationCompleteEvent2
Last updated on Saturday, April 10, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.