perty indicates the current number of device-specific pens.  0xffff means the device does not support pens. 
Example: 3