dinput: Return HID class guid in DIPROP_GUIDANDPATH property.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5499ba3929
commit
85148f9ee0
|
@ -819,6 +819,7 @@ static HRESULT hid_joystick_get_property( IDirectInputDevice8W *iface, DWORD pro
|
|||
case (DWORD_PTR)DIPROP_GUIDANDPATH:
|
||||
{
|
||||
DIPROPGUIDANDPATH *value = (DIPROPGUIDANDPATH *)header;
|
||||
value->guidClass = GUID_DEVCLASS_HIDCLASS;
|
||||
lstrcpynW( value->wszPath, impl->device_path, MAX_PATH );
|
||||
return DI_OK;
|
||||
}
|
||||
|
|
|
@ -889,7 +889,6 @@ static void test_simple_joystick( DWORD version )
|
|||
|
||||
hr = IDirectInputDevice8_GetProperty( device, DIPROP_GUIDANDPATH, &prop_guid_path.diph );
|
||||
ok( hr == DI_OK, "GetProperty DIPROP_GUIDANDPATH returned %#x\n", hr );
|
||||
todo_wine
|
||||
ok( IsEqualGUID( &prop_guid_path.guidClass, &GUID_DEVCLASS_HIDCLASS ), "got guid %s\n",
|
||||
debugstr_guid( &prop_guid_path.guidClass ) );
|
||||
todo_wine
|
||||
|
|
Loading…
Reference in New Issue