CallDivide function

Retrieves analysis information from the InkDivider object.

This function is not intended to be used by application code.

Syntax

HRESULT WINAPI CallDivide(
  _In_  INT_PTR hDivider,
  _In_  int     *pWordSize,
  _In_  int     *pLineSize,
  _In_  int     *pParagraphSize,
  _In_  int     *pDrawingSize,
  _Out_ int     *pWordCount,
  _Out_ int     *pLineCount,
  _Out_ int     *pParagraphCount
);

Parameters

hDivider [in]

A handle to the InkDivider object.

pWordSize [in]

The size of the word returned by the InkDivider object.

pLineSize [in]

The size of the line returned by the InkDivider object.

pParagraphSize [in]

The size of the paragraph returned by the InkDivider object.

pDrawingSize [in]

The size of the drawing returned by the InkDivider object.

pWordCount [out]

The number of words returned by ink analysis.

pLineCount [out]

The number of lines returned by ink analysis.

pParagraphCount [out]

The number of paragraphs returned by ink analysis.

Return value

This function can return one of these values.

Return code Description
S_OK
The function suceeded.
E_INVALIDARG
One or more parameters are invalid.

Requirements

Requirement Value
Minimum supported client
Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server
None supported
Library
InkDiv.dll