Pen Driver Return Values

All the values that can be returned by the Pen Driver in response to a message are listed in the table below. These return value constants are defined in PENDRV.H.

Return Value
Description
DRV_SUCCESS
The message request was completed successfully.
DRV_FAILURE
The message request was attempted, but was not completed successfully.
DRV_BADPARAM1
The message request was not attempted because the first parameter in the message was invalid.
DRV_BADPARAM2
The message request was not attempted because the second parameter in the message was invalid.
DRV_BADSTRUCT
The message request was not attempted because a message parameter that must point to a structure was not pointing to a valid structure of the required type. For example, a message parameter that should point to a PENINFO structure does not point to a writeable block of memory large enough to contain a PENINFO structure.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples