dinput: Return correct error code for DIPROP_VIDPID.

This commit is contained in:
Vitaliy Margolen 2011-02-01 20:28:00 -07:00 committed by Alexandre Julliard
parent b44bdfd20a
commit 4979d287b2
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -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;