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,
) {
final result_ = SetGestureConfig_Wrapper(
hwnd,
NULL,
cIDs,
pGestureConfig,
cbSize,
);
return Win32Result(value: result_.value.i32 != FALSE, error: result_.error);
}