Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Close method

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

RdpEncomAPI.h

IDL

RdpEncomAPI.idl

Type library

RdpEncomAPI.tlb

DLL

RdpEncom.dll

See also

IRDPSRAPISharingSession2
IRDPSRAPISharingSession

 

 

Show:
© 2015 Microsoft