◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── void MoveCursor(wAbsX, wAbsY) WORD wAbsX; WORD wAbsY; The MoveCursor function moves the cursor to the given screen coordinates. If the cursor is a composite of screen and cursor bitmaps (that is, not a hardware cursor), this function must ensure that screen bits under the current cursor position are restored and the bits under the new position are saved. The function must move the cursor, even if the cursor is not currently displayed. Parameter Description ──────────────────────────────────────────────────────────────────────────── wAbsX Specifies the absolute x-coordinate of the new cursor position. wAbsY Specifies the absolute y-coordinate of the new cursor position. Return Value This function has no return value. Comments The export ordinal for this function is 103. Microsoft Windows may specify a position at which the cursor shape would lie partially outside of the display bitmap. The OEM function is responsible for clipping the cursor shape to the display boundary. The MoveCursor function is called at mouse-interrupt time, outside of the main thread of Windows processing. Since MoveCursor may even interrupt its own processing, the device driver should disable interrupts while reading the wAbsX and wAbsY coordinates by using the EnterCrit and LeaveCrit macros in the WINDEFS.INC file. Do not use sti and cli instructions in the driver. ♦