Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IWTSPlugin::Disconnected method (tsvirtualchannels.h)

Notifies the plug-in that the Remote Desktop Connection (RDC) client has disconnected from the Remote Desktop Session Host (RD Session Host) server.

Syntax

HRESULT Disconnected(
 [in] DWORD dwDisconnectCode
);

Parameters

[in] dwDisconnectCode

Code that identifies the disconnect reason. For the possible codes, see IMsTscAxEvents::OnDisconnected.

Return value

Returns S_OK if the call completes successfully. Results in no action if the call fails.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header tsvirtualchannels.h

See also

IWTSPlugin


Feedback

Was this page helpful?

Additional resources