Share via


GetWindowAutoGesture (Windows Embedded CE 6.0)

1/6/2010

This function returns the current auto gesture configuration settings for a window handle.

Syntax

BOOL GetWindowAutoGesture(
    HWND hWnd, 
    LPWAGINFO lpAutoGestureInfo
);

Parameters

Term

Definition

hWnd

[in] Handle of the target window.

lpAutoGestureInfo

[out] Pointer to the WAGINFO structure that receives the automatic gesture handling settings for the target window.

Return Value

Returns true if the function succeeds; otherwise, false. To retrieve extended error information call GetLastError.

Remarks

You must set the WS_HSCROLL or WS_VSCROLL window styles for the target window before you can use SetWindowAutoGesture or GetWindowAutoGesture.

Requirements

Header pwinuser.h
sysgen SYSGEN_GESTUREANIMATION

See Also

Other Resources

WindowAutoGesture Functions