GetPointerCursorId function user32

Win32Result<bool> GetPointerCursorId(
  1. int pointerId,
  2. Pointer<Uint32> cursorId
)

Retrieves the cursor identifier associated with the specified pointer.

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

Implementation

Win32Result<bool> GetPointerCursorId(int pointerId, Pointer<Uint32> cursorId) {
  final result_ = GetPointerCursorId_Wrapper(pointerId, cursorId);
  return .new(value: result_.value.i32 != FALSE, error: result_.error);
}