IContextNode::GetStrokePacketDataById method
Retrieves an array containing the packet property data for the specified stroke.
HRESULT GetStrokePacketDataById(
[in] LONG strokeId,
[in, out] ULONG *pStrokePacketDataCount,
[out] LONG **pplStrokePacketData
);
-
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.
For a description of the return values, see Classes and Interfaces - Ink Analysis.
Dikkat
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.
Requirement | Value |
---|---|
Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server |
None supported |
Header |
|
DLL |
|