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

Parameters

pChannelMgr [in]

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

TsVirtualChannels.h

IDL

TsVirtualChannels.idl

See also

IWTSPlugin

 

 

Show: