BCGSuite for MFC
BOOL CBCGPGestureManager::GetGestureConfig ( HWND  hwnd,
CBCGPGestureConfig config 
)

Retrieves the configuration for which Windows Touch gesture messages are sent from a window.

Parameters
hwndA handle to the window to get the gesture configuration from.
config[in,out] Specifies the gesture configuration.
Returns
TRUE if it succeeds, FALSE if it fails.