IWTSPlugin::Initialize method (tsvirtualchannels.h)

Used for the first call that is made from the client to the plug-in. Any plug-in initialization should occur in this interface. Initialization occurs only once per plug-in.

Syntax

HRESULT Initialize(
  [in] IWTSVirtualChannelManager *pChannelMgr
);

Parameters

[in] pChannelMgr

Passed instance to the channel manager (IWTSVirtualChannelManager) for the client.

Return value

Returns S_OK if the call completes successfully. If the call fails, the plug-in will be released by the Remote Desktop Connection (RDC) client.

Requirements

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

See also

IWTSPlugin