Export (0) Print
Expand All

IRDPSRAPISharingSession::Open method

Puts the session in an active state. After this method is called, the listener is started and incoming connections will be accepted.

Syntax


HRESULT Open();

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. The following are possible values.

Return codeDescription
S_FALSE

The session is already opened.

E_UNEXPECTED

The session was terminated by calling IRDPSRAPISharingSession::Close earlier.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Rdpencomapi.h

IDL

Rdpencomapi.idl

Type library

Rdpencomapi.tlb

See also

IRDPSRAPISharingSession

 

 

Show:
© 2014 Microsoft