TargetPoints
2.0
Determines
the target to which pen data belongs.
int TargetPoints( LPTARGINFO lptarginfo,
LPPOINT lppt, DWORD dwReserved, UINT fuReserved,
LPSTROKEINFO lpsi )
Parameters
lptarginfo
Address of a
targeting data TARGINFO
lppt
Address of a
buffer of POINT
dwReserved
This
parameter is reserved for future use and its value is ignored.
fuReserved
This parameter
is reserved for future use and its value is ignored.
lpsi
A pointer to
a STROKEINFO
Return Value
Returns an
array index, starting from 0, of the target in the rgTarget array of the
TARGINFO
structure, if successful. If no suitable target is found, or if there are no
points to target, TargetPoints returns -1.
Comments
To select the
desired targeting behavior, the application should set the dwFlags
member of the TARGINFO structure that lptarginfo points to.
See Also