AddOneStroke function

Adds a new IInkStrokeDisp object to the InkDivider object that was passed in.

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

Syntax

HRESULT WINAPI AddOneStroke(
  _In_ INT_PTR hDivider,
  _In_ int     strokeId,
  _In_ int     cPoints,
  _In_ POINT   *aPoints
);

Parameters

hDivider [in]

A handle to the InkDivider object.

strokeId [in]

The Id of the IInkStrokeDisp object to be added to the InkDivider object.

cPoints [in]

The number of packets that make up the new IInkStrokeDisp object.

aPoints [in]

The array of packets that make up the IInkStrokeDisp object in strokeId.

Return value

This function can return one of these values.

Return code Description
S_OK
The function succeeded.
E_INVALIDARG
The hDivider parameter is invalid.

Requirements

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