IsTouchWindow function user32

bool IsTouchWindow(
  1. HWND hwnd,
  2. Pointer<Uint32>? pulFlags
)

Checks whether a specified window is touch-capable and, optionally, retrieves the modifier flags set for the window's touch capability.

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

Implementation

@pragma('vm:prefer-inline')
bool IsTouchWindow(HWND hwnd, Pointer<Uint32>? pulFlags) =>
    _IsTouchWindow(hwnd, pulFlags ?? nullptr) != FALSE;