|
OEM_PENPACKET
- 0
A pen packet used by Pen API, version 2.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];
DWORD dwTime;
} 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.
dwTime
Time stamp indicating when the pen packet originated.
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 data relating to the OEM hardware, such as pen pressure,
angle, and so forth.
See Also
SetPenHookCallback, OEMPENINFO, 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
TMS Scripter Studio Pro components for Delphi/C++Builder
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
|