Structures

This reference structure describes all the members of the major pen driver data structures.

The major pen driver data structures are listed in the following table. These data structures are defined in the PENDRV.H header file that is in the sub directory \PEN\INC after the Windows 95 DDK is installed, and the rightmost column of the following table identifies the header file that contains each structure definition.

Structure

Description

_HARDWAREINFO

Used by the virtual pen driver for hardware-specific information.

_VPenD_Register

Holds information that is critical to the functioning of the driver for a particular virtual machine (VM). All information in this structure will be updated if the current VM changes to a VM where there is a registered device to handle pen events.

DRV_CALBSTRUCT

The values in this structure are used to convert pen location values if point calibration is necessary.

DRV_OEMPENINFO

OEM-specific pen information structure that the virtual pen driver and pen driver use.

DRV_PENINFO

Pen information structure that the virtual driver and pen driver use.

DRV_PENPACKET

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

PPENPACKET

This version of the pen-packet format is from version 1.0 of the Pen API. It should not be used in drivers compliant with version 2.0 of the Pen API.

VPEND_INIT

Used when the pen driver initializes along with the virtual pen driver. VPEND_INIT contains the pointers and any other extra information that the virtual pen driver will need when pen hardware interrupts need to be serviced.