Add device wrapper macro to get device type string

Set param_value to NULL when error occurs returning device info
Add several more valid device info parameters