IContextNode::GetStrokePacketDataById method
Retrieves an array containing the packet property data for the specified stroke.
Syntax
HRESULT GetStrokePacketDataById(
[in] LONG strokeId,
[in, out] ULONG *pStrokePacketDataCount,
[out] LONG **pplStrokePacketData
);
Parameters
-
strokeId [in]
-
The identifier for the stroke.
-
pStrokePacketDataCount [in, out]
-
The length of the packet data array.
-
pplStrokePacketData [out]
-
A pointer to the packet data for the stroke.
Return value
For a description of the return values, see Classes and Interfaces - Ink Analysis.
Remarks
Caution
To avoid a memory leak, use CoTaskMemFree to release the memory from *pplStrokePacketData when you no longer need the information.
plStrokePacketData contains packet data for all of the points in the stroke. To get the types of packet data included for each point in the stroke, use IContextNode::GetStrokePacketDescriptionById.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server |
None supported |
Header |
|
DLL |
|