IInkDivider::Divide method (msinkaut15.h)

Returns a IInkDivisionResult object that contains the results of the layout analysis of strokes in the InkDivider object.

Syntax

HRESULT Divide(
  [out, retval] IInkDivisionResult **InkDivisionResult
);

Parameters

[out, retval] InkDivisionResult

When this method returns, contains a pointer to an IInkDivisionResult object that contains structural information about the strokes in the InkDivider object.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
E_POINTER
A parameter contains an invalid pointer.
E_UNEXPECTED
Unexpected parameter or property type.
E_FAIL
An unspecified error occurred.
E_OUTOFMEMORY
Unable to allocate memory to complete the operation.
E_INK_EXCEPTION
An exception occurred inside the method.

Remarks

This method returns a new IInkDivisionResult object each time this method is called.

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header msinkaut15.h
Library Inkdiv.dll

See also

IInkDivider

IInkDivisionResult Interface

InkDivider Class