Elizabeth Figura (@zfigura) commented about include/wine/dbt.h:
debugstr_guid( &data->event.device_interface.class_guid ),
debugstr_w( data->event.device_interface.name ) );
case DBT_DEVTYP_HANDLE:
return wine_dbg_sprintf( "{%#lx DBT_DEVTYP_HANDLE %s %s %s %d %p}",
data->event.device_interface.header.reserved,
debugstr_w( data->event.handle.handle_file_path ),
debugstr_guid( &data->event.handle.event_guid ),
debugstr_w( data->event.handle.name ),
data->event.handle.data_size, data->event.handle.data );
default:
return wine_dbg_sprintf( "{type=%#lx %p}\n", data->devicetype, data );
- }
+}
+static inline const char * +debugstr_device_notification_details( const struct device_notification_details *details )
This is only used in sechost. As such it could be moved there, and even inlined.