GetPointerInputTransform function user32

Win32Result<bool> GetPointerInputTransform(
  1. int pointerId,
  2. int historyCount,
  3. Pointer<INPUT_TRANSFORM> inputTransform
)

Gets one or more transforms for the pointer information coordinates associated with the current message.

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

Implementation

Win32Result<bool> GetPointerInputTransform(
  int pointerId,
  int historyCount,
  Pointer<INPUT_TRANSFORM> inputTransform,
) {
  final result_ = GetPointerInputTransform_Wrapper(
    pointerId,
    historyCount,
    inputTransform,
  );
  return .new(value: result_.value.i32 != FALSE, error: result_.error);
}