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

IRDPSRAPISharingSession2::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

DLL

RdpEncom.dll

See also

IRDPSRAPISharingSession2
IRDPSRAPISharingSession

 

 

Show:
© 2015 Microsoft