Share via


IWmsStationMousePresenter::SetCursor 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 shape of the mouse cursor.

Syntax

HRESULT SetCursor(
  [in] HCURSOR hCursor
);

Parameters

hCursor [in]

A handle to the cursor. If this parameter is NULL, the cursor is removed from the screen.

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_IWmsStationMousePresenter is defined as a391f331-00f0-4204-9d09-f926917233b0

See also

IWmsStationMousePresenter