VPEND_INIT

typedef struct {
  LPDWORD lpDataType;
  LPDWORD lpNumberOfPenPackets;
  LPDWORD lpOffsetIntoBuffer;
  LPDWORD lpIndexIntoBuffer;
  LPDWORD lpPenPacketBuffer;
  LPDRV_PENINFO lpPenInfo;
  LPSTR lpOEMBuffer;
  LPDWORD lpfnEntryPoint;
} 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.

lpDataType
A far pointer to a DWORD that is set with a data type value before the driver is called to service the pen interrupt. Data type values are used to indicate the interrupt-time driver event type.
lpNumberOfPenPackets
A far pointer to a DWORD that is set to the number of pen packets in the pen-packet buffer that need to be serviced when the pen interrupt occurs.
lpOffsetIntoBuffer
Not used.
lpIndexIntoBuffer
A far pointer to a DWORD that is set with the index location in the pen packet buffer where the first pen packet resides when the pen interrupt occurs.
lpPenPacketBuffer
A far pointer to a DRV_PENPACKET buffer of size 32 bytes.
lpPenInfo
A far pointer to a DRV_PENINFO structure that is filled with the current hardware capabilities when the driver requests it.
lpOEMBuffer
A far pointer to a buffer that holds OEM-specific data.
lpfnEntryPoint
A far pointer to the routine that processes the pen interrupts.