DRV_PENINFO
typedef struct {
DWORD cxRawWidth;
DWORD cyRawHeight;
DWORD wDistinctWidth;
DWORD wDistinctHeight;
DWORD nSamplingRate;
DWORD nSamplingDist;
DWORD dwSamplingRateMin;
DWORD dwSamplingRateMax;
DWORD fuOEM;
DWORD lPdc;
DWORD cPens;
DWORD cbOemData;
DRV_OEMPENINFO rgoempeninfo[MAXOEMDATAWORDS];
DWORD rgwReserved[8];
} DRV_PENINFO;
Pen information structure that the virtual driver and pen driver use.
- cxRawWidth
- The width of the physical tablet in measured in units of 0.001 inch. For example, an 8-inch tablet would have a raw width of 8000 units.
- cyRawHeight
- The height of the physical tablet in measured in units of 0.001 inch. For example, a 6-inch-high tablet would have a height of 6000 units.
- wDistinctWidth
- The number of distinct x-values. For example, if an 8-inch-wide tablet supports 250 points-per-inch (ppi), then the distinct number of points would be 2000.
- wDistinctHeight
- The number of distinct y-values. For example, if a 6-inch-high tablet supports 200 ppi, then the distinct number of points would be 1200.
- nSamplingRate
- Number of pen packets per second.
- nSamplingDist
- The minimum distance between points that get processed.
- dwSamplingRateMin
- Minimum possible sampling rate.
- dwSamplingRateMax
- Maximum possible sampling rate.
- fuOEM
- A bit mask that specifies which pen information structure elements are reported in OEM units. (To see the format of the bit mask, refer to the description of PHW_ values in the Programmer's Guide to Pen Services for Windows 95 or the list in the PENWIN.H file.)
- lPdc
- Pen device capabilities.
- cPens
- Number of pens supported.
- cbOemData
- Width of an OEM data packet. This value is based on the bits set in the fuOEM member, which is described above.
- rgoempeninfo[MAXOEMDATAWORDS]
- OEM data. The structure of this data is defined by the DRV_OEMPENINFO structure.
- rgwReserved[8]
- Reserved.