DRV_GetName
Returns the name of the pen driver. The buffer that receives the name (lParam2) should be at least 80 characters in length.
- If successful, returns the number of characters copied to the buffer. This character count includes the string null termination character, so the value will be the number of characters in the pen driver name plus one. Otherwise, returns one of the following:
DRV_BADPARAM1 |
The specified buffer length is not large enough to hold the pen driver name. |
DRV_BADPARAM2 |
The specified pointer does not point to a writeable block of memory of the size specified in lParam1. |
- lParam1
- Length of buffer.
- lParam2
- Pointer to a character buffer that receives the pen driver name.