GetPointerFramePenInfoHistory function user32

Win32Result<bool> GetPointerFramePenInfoHistory(
  1. int pointerId,
  2. Pointer<Uint32> entriesCount,
  3. Pointer<Uint32> pointerCount,
  4. Pointer<POINTER_PEN_INFO>? penInfo,
)

Gets the entire frame of pen-based information (including coalesced input frames) for the specified pointers (of type PT_PEN) associated with the current message.

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

Implementation

Win32Result<bool> GetPointerFramePenInfoHistory(
  int pointerId,
  Pointer<Uint32> entriesCount,
  Pointer<Uint32> pointerCount,
  Pointer<POINTER_PEN_INFO>? penInfo,
) {
  resolveGetLastError();
  final result_ = _GetPointerFramePenInfoHistory(
    pointerId,
    entriesCount,
    pointerCount,
    penInfo ?? nullptr,
  );
  return .new(value: result_ != FALSE, error: GetLastError());
}