SetGestureConfig function user32
Win32Result<bool>
SetGestureConfig(
- HWND hwnd,
- int cIDs,
- Pointer<
GESTURECONFIG> pGestureConfig, - int cbSize,
Configures the messages that are sent from a window for Windows Touch gestures.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-setgestureconfig.
Implementation
Win32Result<bool> SetGestureConfig(
HWND hwnd,
int cIDs,
Pointer<GESTURECONFIG> pGestureConfig,
int cbSize,
) {
resolveGetLastError();
final result_ = _SetGestureConfig(hwnd, NULL, cIDs, pGestureConfig, cbSize);
return .new(value: result_ != FALSE, error: GetLastError());
}