Fills a PENINFO structure with the current DRV_PENINFO structure information.
DRV_SUCCESS | The PENINFO data structure was correctly filled. |
DRV_BADPARAM1 | The lparam1 parameter does not point to a writeable block of memory of length sizeof(PENINFO). |
DRV_FAILURE | No pen device is using the driver (no pen device is currently connected). |
lParam1
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.)
lParam2
Should be set to zero.