DRV_PENPACKET

typedef struct {
  WORD wTabletX;
  WORD wTabletY;
  WORD wPDK;
  WORD rgwOemData[MAXOEMDATAWORDS];
  DWORD ddTimeStamp;
  DWORD ddSequential;
  DWORD ddProfile;
  DWORD ddDebug;
} DRV_PENPACKET;
 

New pen-packet format for version 2.0 of the Pen API.

wTabletX
The x-location of the tip of the pen relative to the tablet origin, measured in units of 0.001 inch.
wTabletY
The y-location of the tip of the pen relative to the tablet origin, measured in units of 0.001 inch.
wPDK
The state of the pen. (See the PDK_ flag values defined in PENWIN.H.)
rgwOemData[MAXOEMDATAWORDS]
The extra OEM-specific data.
ddTimeStamp
The time stamp when the pen packet was gathered.
ddSequential
A debug-only option. When running a debug version of the pen driver, the driver will report a sequential stamp with every pen packet.
ddProfile
A debug-only option. When running a debug version of the pen driver, the driver will report in this member the number of milliseconds if took from the time the virtual pen driver called the pen driver to when it returned. This effectively records the amount of time it took the pen driver to process all its clients (including the display driver).
ddDebug
A debug-only option. When running a debug version of the pen driver, the driver will report some common error conditions.