IRDPSRAPISharingSession::Open method (rdpencomapi.h)

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();

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.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header rdpencomapi.h
DLL RdpEncom.dll

See also

IRDPSRAPISharingSession

IRDPSRAPISharingSession2