dinput: Return correct error code for DIPROP_VIDPID.
This commit is contained in:
parent
b44bdfd20a
commit
4979d287b2
|
@ -906,6 +906,9 @@ HRESULT WINAPI IDirectInputDevice2WImpl_GetProperty(LPDIRECTINPUTDEVICE8W iface,
|
|||
TRACE("buffersize = %d\n", pd->dwData);
|
||||
break;
|
||||
}
|
||||
case (DWORD_PTR) DIPROP_VIDPID:
|
||||
FIXME("DIPROP_VIDPID not implemented\n");
|
||||
return DIERR_UNSUPPORTED;
|
||||
default:
|
||||
FIXME("Unknown property %s\n", debugstr_guid(rguid));
|
||||
return DIERR_INVALIDPARAM;
|
||||
|
|
|
@ -764,6 +764,7 @@ typedef const DIPROPSTRING *LPCDIPROPSTRING;
|
|||
#define DIPROP_CALIBRATION MAKEDIPROP(11)
|
||||
#define DIPROP_GUIDANDPATH MAKEDIPROP(12)
|
||||
#define DIPROP_KEYNAME MAKEDIPROP(20)
|
||||
#define DIPROP_VIDPID MAKEDIPROP(24)
|
||||
|
||||
typedef struct DIDEVCAPS_DX3 {
|
||||
DWORD dwSize;
|
||||
|
|
Loading…
Reference in New Issue