GetPointerCursorId function user32
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) {
resolveGetLastError();
final result_ = _GetPointerCursorId(pointerId, cursorId);
return .new(value: result_ != FALSE, error: GetLastError());
}