Share via


TouchPanelEnableEx (Compact 2013)

3/26/2014

This function enables the touch screen and sets the callback function that the driver calls to provide multi-touch data.

Syntax

BOOL TouchPanelEnableEx(
  PFN_TOUCH_PANEL_CALLBACK_EX pfnCallbackEx
);

Parameters

  • pfnCallbackEx
    [in] Pointer to a callback function that that the driver calls to provide multi-touch data. For more information, see PFN_TOUCH_PANEL_CALLBACK_EX.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

The Graphics, Windowing, and Events Subsystem (GWES) calls TouchPanelEnableEx if it exists. If it does not exist, GWES calls the legacy TouchPanelEnable function. TouchPanelEnable and TouchPanelEnableEx will never be active at the same time.

Requirements

Header

tchddi.h

Library

tchproxy.dll

See Also

Reference

Touch Proxy Driver Functions