RegisterTouchWindow function user32
Registers a window as being touch-capable.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-registertouchwindow.
Implementation
Win32Result<bool> RegisterTouchWindow(
HWND hwnd,
REGISTER_TOUCH_WINDOW_FLAGS ulFlags,
) {
resolveGetLastError();
final result_ = _RegisterTouchWindow(hwnd, ulFlags);
return .new(value: result_ != FALSE, error: GetLastError());
}