IRDPSRAPISharingSession2::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 |
|---|---|
|
Minimum supported server |
Windows Server 2008 |
|
Header |
|
|
IDL |
|
|
Type library |
|
|
DLL |
|
See also
Show: