IWTSProtocolConnection::GetShadowConnection method (wtsprotocol.h)

[IWTSProtocolConnection::GetShadowConnection is no longer available for use as of Windows Server 2012. Instead, use IWRdsProtocolConnection::GetShadowConnection.]

Retrieves a IWTSProtocolShadowConnection object from the protocol. The method must add a reference to the object before returning. When the Remote Desktop Services service has finished the licensing process, it will release the reference.

Syntax

HRESULT GetShadowConnection(
  [out] IWTSProtocolShadowConnection **ppShadowConnection
);

Parameters

[out] ppShadowConnection

The address of a pointer to an IWTSProtocolShadowConnection interface.

Return value

None

Requirements

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

See also

IWTSProtocolConnection