SetCursor function user32

HCURSOR SetCursor(
  1. HCURSOR? hCursor
)

Sets the cursor shape.

To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-setcursor.

Implementation

@pragma('vm:prefer-inline')
HCURSOR SetCursor(HCURSOR? hCursor) => HCURSOR(_SetCursor(hCursor ?? nullptr));