TouchPanelEnable (Windows Embedded CE 6.0)

1/6/2010

This function enables and re-enables the touch screen.

Syntax

BOOL TouchPanelEnable(
  PFN_TOUCH_PANEL_CALLBACK pfnCallback
);

Parameters

  • pfnCallback
    [in] Pointer to a touch screen callback function that executes to handle pen events.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

After this function returns, the touch screen generates pen events.

Requirements

Header tchddi.h
Library Tchmain.lib
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Touch Screen Driver Functions