Skip to main content

Windows Dev Center

IWTSPluginServiceProvider::GetService method

Obtains the specified service.

Syntax


HRESULT GetService(
  [in]  GUID     ServiceId,
  [out] IUnknown **ppunkObject
);

Parameters

ServiceId [in]

Specifies the service to retrieve. This can be the following values.

ValueMeaning
RDCLIENT_BITMAP_RENDER_SERVICE

Identifies the bitmap rendering service. The ppunkObject parameter receives an IWTSBitmapRenderService interface pointer.

 

ppunkObject [out]

The address of a pointer to an IUnknown interface that receives the service object.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

IDL

TSVirtualChannels.idl

See also

IWTSPluginServiceProvider