Click to Rate and Give Feedback
MSDN
MSDN Library
System Services
IWTSSBPlugin
Methods
 IWTSSBPlugin::Initialize Method
IWTSSBPlugin::Initialize Method

Initializes the plug-in and returns a value that indicates the redirection capabilities of the plug-in. Terminal Services Session Broker (TS Session Broker) calls this method immediately after it instantiates the plug-in class.

Syntax

C++
HRESULT Initialize(
  [out]  DWORD *PluginCapabilities
);

Parameters

PluginCapabilities [out]

A pointer to a value that indicates the redirection capabilities of the plug-in.

ValueMeaning
0

The plug-in redirects only within a farm in TS Session Broker. If this value is returned, TS Session Broker does not call the WTSSBX_GetUserExternalSession method on the plug-in.

1

The plug-in redirects within a farm in TS Session Broker, and the plug-in implements WTSSBX_GetUserExternalSession to redirect outside the farm.

 

Return Value

Returns S_OK if successful.

Remarks

TS Session Broker calls Initialize immediately after it instantiates the COM class. The plug-in should return information about its redirection capabilities by using the Initialize method.

Your implementation of Initialize must return S_OK immediately if successful.

Requirements

Minimum supported clientNone supported
Minimum supported serverWindows Server 2008
HeaderTssbx.h
IDLTssbx.idl
IIDIID_IWTSSBPlugin is defined as DC44BE78-B18D-4399-B210-641BF67A002C

See Also

IWTSSBPlugin

Send comments about this topic to Microsoft

Build date: 10/19/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker