IWTSPlugin::Initialize method

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(
  IWTSVirtualChannelManager *pChannelMgr
);

Parameters

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

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header tsvirtualchannels.h

See Also

IWTSPlugin