SetLineRecoCallback function
Sets a callback function to be used during line recognition.
This helper function is not intended to be used by application code.
Syntax
HRESULT WINAPI SetLineRecoCallback(
_In_ INT_PTR hDivider,
GetLineRecoDef pfn
);
Parameters
-
hDivider [in]
-
A handle to the InkDivider object.
-
pfn
-
A pointer to a function that is called when recognition occurs on the InkDivider passed in.
Return value
This function can return one of these values.
Return code | Description |
---|---|
|
The function succeeded. |
|
The pDivider parameter is invalid. |
Remarks
The following is the syntax for the callback function.
public delegate void GetLineRecoDef(
int cStrokes,
[MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.I4, SizeParamIndex = 0)]int [] aStrokeIds,
float degrees,
Point point,
[MarshalAs(UnmanagedType.BStr)] out string lineString,
out int cSegment,
out int[] strokeIdOrdered,
out int[] segmentStrokes,
[MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.BStr)] out string [] aSegmentString
);
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server |
None supported |
Library |
|