|
PENPACKET
- 0 2.0
A pen packet used by Pen Windows, version 1.0, consisting of the information
received from the pen device for a single sample. For a definition of pen
packet, see SetPenHook.
typedef struct {
UINT wTabletX;
UINT wTabletY;
UINT wPDK;
UINT rgwOemData[MAXOEMDATAWORDS];
} PENPACKET;
Members
wTabletX
The x-dimension in raw tablet coordinates.
wTabletY
The y-dimension in raw tablet coordinates.
wPDK
Pen hardware state bits, expressed as a combination of PDK_ values.
rgwOemData[MAXOEMDATAWORDS]
Array of OEM-specific data. MAXOEMDATAWORDS is defined as 6.
Comments
A pen packet is the basic unit of communication between the pen driver and
Windows. A pen packet contains all of the information about a single logical
event: x-y coordinate position, button states, and any optional information such as
pressure or barrel rotation. Several physical events that is, interrupts may be needed to construct a single logical event.
The rgwOemData member contains the real-time values associated with the pen data types
described in the entry for the OEMPENINFO structure.
See Also
SetPenHookCallback, OEMPENINFO, OEM_PENPACKET
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|