Share via


IRTCClient::get_ListenForIncomingSessions.

The get_ListenForIncomingSessions property returns the way the Client is listening for incoming sessions. This method retrieves the listen mode set in IRTCClient::put_ListenForIncomingSessions.

HRESULT get_ListenForIncomingSessions.(RTC_LISTEN_MODE*penListen);

Parameters

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
RTC_E_CLIENT_NOT_INITIALIZED The client has not been initialized.

Remarks

If this method is called after any of the following methods, the RTC Client API will return an RTC_E_NOT_ALLOWED error.

Requirements

Client: Requires Windows XP.
Server: Requires Windows Server 2003.
Redistributable: Requires Rtcdll.dll on Windows 2000, and Windows Me/98.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCClient is defined as 07829e45-9a34-408e-a011-bddf13487cd1.

See Also

IRTCClient, RTC_LISTEN_MODE, IRTCSession, IRTCClient::put_ListenForIncomingSessions