Поделиться через


PFN_TCH_MDD_REPORTSAMPLESET (Compact 2013)

3/26/2014

This callback function of the MDD accepts touch contact data from the touch driver PDD.

Syntax

typedef void (WINAPI *PFN_TCH_MDD_REPORTSAMPLESET) (
  DWORD hMddContext,
  DWORD cInputs,
  const CETOUCHINPUT *pTouchInputs
);

Parameters

  • hMddContext
    [in] Handle to the MDD context.
  • cInputs
    [in] Count of touch contact points being passed.
  • pTouchInputs
    [in] Pointer to an array of CETOUCHINPUT structures, one for each touch contact point.

Return Value

None.

Remarks

The syntax above is for a pointer to a callback function of the required type. When the MDD calls TchPdd_Init to obtain pointers to the PDD functions, it passes a pointer to its callback function as a member of TCH_MDD_INTERFACE_INFO structure. Single-touch PDDs call this function with cInputs equal to 1. In the MDD included with Compact 2013, the name of this callback function is TchMdd_ReportSampleSet.

Requirements

Header

tchstreamddsi.h

See Also

Reference

Touch Driver DDSI Functions