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.
- 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 |
|
|
IDL |
|
|
Type library |
|
|
DLL |
|
See also
Show: