Instructs the pen driver to fill a calibration structure with the current calibration settings. The PDC_INTEGRATED flag is used to determine whether the hardware supports calibration.
DRV_FAILURE | Tablet does not support calibration (not integrated) |
DRV_BADPARAM1 | The first parameter is not a valid pointer to a block of memory at least sizeof(CALBSTRUCT) in length |
DRV_SUCCESS | The calibration structure was successfully filled |
lParam1
Far pointer to a calibration structure that is filled if the hardware supports calibration.
lParam2
A far pointer to the PENINFO structure. (For a description of PENINFO, see the Programmer's Guide to Pen Services for Windows 95 or PENWIN.H.)