Export (0) Print
Expand All

IRDPSRAPISharingSession::Close method

Disconnects all attendees from the session and stops listening to incoming connections.

When the attendees are disconnected, no attendee disconnect event occurs on the sharer side because it is the sharer that calls this method. The sharer is already aware that the attendees will be disconnected.

A closed session cannot be reopened by calling the IRDPSRAPISharingSession::Open method.

Syntax


HRESULT Close();

Parameters

This method has no parameters.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Rdpencomapi.h

IDL

Rdpencomapi.idl

Type library

Rdpencomapi.tlb

See also

IRDPSRAPISharingSession

 

 

Show:
© 2014 Microsoft