## Pen for OS/2 Device Driver Reference

[prev][next][parent][TOC]

### penSetButtonData - Parameters

self (PenButtonDevice *) - input The pointer to this object.

pPenEventData (PPENEVENTDATA) - input A pointer to an array of PENEVENTDATA structures. These structures contain data to be used for the button list box in the Settings notebook of this object instance.

The pPenEventData buffer must contain one PENEVENTDATA structure for each button that is registered by the device driver. Also, the order in which these structures are placed within the buffer must match the order in which the buttons are registered by the device driver with the Pen for OS/2 system.

rc (BOOL) - returns Success indicator:

TRUE Successful completion.
FALSE Error occurred.