IWTSProtocolShadowConnection::Stop method

[IWTSProtocolShadowConnection::Stop is no longer available for use as of Windows Server 2012. Instead, use IWRdsProtocolShadowConnection::Stop.]

Notifies the protocol that shadowing has stopped.

Syntax


HRESULT Stop();

Parameters

This method has no parameters.

Return value

When you are implementing this method, return S_OK if the function succeeds. If it fails, return an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values. The Remote Desktop Services service drops the connection if an error is returned.

Remarks

The Remote Desktop Services service also changes the session state on the shadowed client to reflect the fact it is no longer being shadowed.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

End of server support

Windows Server 2008 R2

Header

Wtsprotocol.h

IDL

Wtsprotocol.idl

See also

IWTSProtocolShadowConnection

 

 

Show: