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