Partager via


IWmsPresentationDevice::CreateStationPresenterIWmsStationPresenter 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.]

Creates a IWmsStationPresenter instance for an input device, and then displays the cursor at the specified coordinates on the monitor.

Syntax

HRESULT CreateStationPresenterIWmsStationPresenter(
  [in]  UINT cxOffset,
  [in]  UINT cx,
  [in]  UINT cy,
  [out]      **ppPresenter
);

Parameters

cxOffset [in]

The x-axis offset, of the cursor coordinates, in pixels.

cx [in]

The x-axis of the cursor coordinates.

cy [in]

The y-axis of the cursor coordinates.

ppPresenter [out]

On successful return, receives a pointer to the interface pointer that represents the input device.

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_IWmsPresentationDevice is defined as 3fa4b1eb-eb6c-455e-a7ae-0861a26c8fc4

See also

IWmsPresentationDevice

IWmsStationPresenter