RegisterTouchHitTestingWindow function user32
Registers a window to process the WM_TOUCHHITTESTING notification.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-registertouchhittestingwindow.
Implementation
Win32Result<bool> RegisterTouchHitTestingWindow(HWND hwnd, int value) {
resolveGetLastError();
final result_ = _RegisterTouchHitTestingWindow(hwnd, value);
return .new(value: result_ != FALSE, error: GetLastError());
}