IWTSProtocolShadowCallback::StopShadow method (wtsprotocol.h)

[IWTSProtocolShadowCallback::StopShadow is no longer available for use as of Windows Server 2012. Instead, use IWRdsProtocolShadowCallback::StopShadow.]

Instructs the Remote Desktop Services service to stop shadowing a target. This method is called in response to a call of DoTarget by the shadow client.

Syntax

HRESULT StopShadow();

Return value

If the function succeeds, the function returns S_OK.

If the function fails, it returns an HRESULT value that indicates the error. Possible values include, but are not limited to, those in the following list. For a list of common error codes, see Common HRESULT Values.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header wtsprotocol.h

See also

IWTSProtocolShadowCallback