Partager via


IWmsCustomPresenterPlugin::GetPresentationDeviceForHub method

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Requests that a third-party device present screen data for a USB hub.

Syntax

HRESULT GetPresentationDeviceForHub(
  [in]  BSTR                   bstrUsbHubDeviceInstanceId,
  [out] IWmsPresentationDevice **ppPresentationDevice
);

Parameters

bstrUsbHubDeviceInstanceId [in]

The ID of the USB hub that is connected to the device.

ppPresentationDevice [out]

Retrieves a pointer to a pointer to the device that is to present the screen data. To prevent the device from presenting screen data, set this parameter to NULL.

Return value

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

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
IDL
WmsStationPresenter.idl
IID
IID_IWmsCustomPresenterPlugin is defined as 3110a841-1256-4c62-ad83-ef72a529c5b5

See also

IWmsCustomPresenterPlugin

IWmsPresentationDevice