GetPointerTouchInfo function user32
Gets the touch-based information for the specified pointer (of type PT_TOUCH) associated with the current message.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-getpointertouchinfo.
Implementation
Win32Result<bool> GetPointerTouchInfo(
int pointerId,
Pointer<POINTER_TOUCH_INFO> touchInfo,
) {
resolveGetLastError();
final result_ = _GetPointerTouchInfo(pointerId, touchInfo);
return .new(value: result_ != FALSE, error: GetLastError());
}