PACKET_DESCRIPTION structure (tpcshrd.h)

Describes the content of the packet for a particular tablet recognizer context.

Do not use this structure to access the data contained in a packet. This structure describes the content of the packet.

Syntax

typedef struct _PACKET_DESCRIPTION {
  ULONG           cbPacketSize;
  ULONG           cPacketProperties;
  PACKET_PROPERTY *pPacketProperties;
  ULONG           cButtons;
  GUID            *pguidButtons;
} PACKET_DESCRIPTION, *PPACKET_DESCRIPTION;

Members

cbPacketSize

The size, in bytes, of the packet data.

cPacketProperties

The number of elements in the pPacketProperties array.

pPacketProperties

An array of PACKET_PROPERTY structures.

cButtons

Deprecated. Do not use.

pguidButtons

Deprecated. Do not use.

Remarks

The PACKET_DESCRIPTION structure defines the logical layout of the packet. Typically, you do not need to address the contents of a packet. You pass the packets to the Ink object. However, if you need to address the contents of a packet, each packet contains a series of LONG values (properties) followed by one or more DWORD values (button states).

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Header tpcshrd.h

See also

AddStroke Function

GetPreferredPacketDescription Function