The get_ReferCookie method retrieves the cookie for the referred session. This method is called by the transferee in the session transfer.

HRESULT get_ReferCookie(BSTR*pbstrReferCookie);


  • pbstrReferCookie
    [out] Pointer to a BSTR that contains the cookie that is stored for the transferred session. The cookie contains contextual information on the session that is being transferred.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
E_POINTER The pbstrReferCookie parameter is not a valid pointer.
E_OUTOFMEMORY Insufficient memory to perform this operation.


Redistributable: Requires Rtcdll.dll on Windows 2000, Windows XP, and Windows Server 2003.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCSessionReferredEvent is defined as 176A6828-4FCC-4F28-A862-04597A6CF1C4.

See Also

IRTCSessionReferredEvent, IRTCSession2, Session Control