Commit d19ff2d8 authored by Bruno Jesus's avatar Bruno Jesus Committed by Alexandre Julliard

dinput8/tests: Debug device information during enumeration callback.

parent 58937117
......@@ -361,6 +361,22 @@ static BOOL CALLBACK enum_devices_callback(const DIDEVICEINSTANCEA *instance, vo
{
struct enum_devices_test *enum_test = context;
trace("---- Device Information ----\n"
"Product Name : %s\n"
"Instance Name : %s\n"
"devType : 0x%08x\n"
"GUID Product : %s\n"
"GUID Instance : %s\n"
"HID Page : 0x%04x\n"
"HID Usage : 0x%04x\n",
instance->tszProductName,
instance->tszInstanceName,
instance->dwDevType,
wine_dbgstr_guid(&instance->guidProduct),
wine_dbgstr_guid(&instance->guidInstance),
instance->wUsagePage,
instance->wUsage);
enum_test->device_count++;
return enum_test->return_value;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment