Hardware Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize

EngMovePointer function

The EngMovePointer function moves the engine-managed pointer on the device.

Syntax


VOID EngMovePointer(
  _In_ SURFOBJ *pso,
  _In_ LONG    x,
  _In_ LONG    y,
  _In_ RECTL   *prcl
);

Parameters

pso [in]

Pointer to a SURFOBJ structure that describes the display device surface on which the pointer is to be moved.

x [in]

Specify the x-coordinate on the display where the hot spot of the pointer should be positioned.

A negative x value indicates that the pointer should be removed from the display because drawing is about to occur at its present location. If the pointer has been removed from the display and the x value is nonnegative, the pointer should be restored.

y [in]

Specify the y-coordinate on the display where the hot spot of the pointer should be positioned.

prcl [in]

Pointer to a RECTL structure defining an area that bounds all pixels affected by the pointer on the display. The driver should pass the prcl parameter received by its DrvMovePointer function. GDI will not draw in this rectangle without first removing the pointer from the screen. This parameter can be NULL.

Return value

None

Remarks

EngMovePointer must not be called while any thread is drawing in the display driver.

Requirements

Target platform

Universal

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Winddi.h (include Winddi.h)

Library

Win32k.lib

DLL

Win32k.sys

See also

DEVINFO
DrvMovePointer
EngSetPointerShape
SURFOBJ

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft