IRTCMediaRequestEvent::get_Session

The get_Session method gets the IRTCSession2 interface for the session that generated this media request event.

HRESULT get_Session(IRTCSession2**ppSession);

Parameters

  • ppSession
    [out] Pointer to the IRTCSession2 interface of the session that fired this event. This call adds a reference to the session object, which the caller is responsible for releasing.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
E_POINTER The ppSession parameter is not a valid pointer.
RTC_E_PLATFORM_NOT_SUPPORTED The platform must be Windows 2000 or above.

Requirements

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_IRTCMediaRequestEvent is defined as 52572D15-148C-4d97-A36C-2DA55C289D63.

See Also

IRTCMediaRequestEvent, IRTCSession2