PacketsData Class

PacketsData Class

Represents a container for the values passed in the IStylusSyncPlugin.Packets and IStylusAsyncPlugin.Packets methods when packets are detected. This class cannot be inherited.

Namespace: Microsoft.StylusInput.PluginData
Assembly: Microsoft.Ink (in

public sealed class PacketsData : StylusDataBase
public final class PacketsData extends StylusDataBase
public final class PacketsData extends StylusDataBase
Not applicable.

You can create new instances of the object and add it to a RealTimeStylus queue by using the AddCustomStylusDataToQueue method.

You can modify the packet data of this notification by calling the SetData method.


Calling the SetData method with its value property set to null (Nothing in Microsoft Visual Basic .NET) allows you to cancel the notification. This is useful when you want to cancel packets from within a plug-in.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

© 2016 Microsoft