Compartilhar via


IWmsStationMousePresenter::SetCursorPos 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.]

Updates the position of the mouse cursor.

Syntax

HRESULT SetCursorPos(
  [in] int X,
  [in] int Y
);

Parameters

X [in]

The new x-coordinate of the mouse cursor, in screen coordinates.

Y [in]

The new y-coordinate of the mouse cursor, in screen coordinates.

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
Header
Winuser.h
IDL
WmsStationPresenter.idl
IID
IID_IWmsStationMousePresenter is defined as a391f331-00f0-4204-9d09-f926917233b0

See also

IWmsStationMousePresenter