dinput: Use tested DirectInput version instead of latest.

This commit is contained in:
Vincent Pelletier 2009-01-21 23:00:25 +01:00 committed by Alexandre Julliard
parent e49cb3bfcb
commit a0c10c2af2
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ static BOOL CALLBACK EnumJoysticks(
if (effect) if (effect)
{ {
hr = IDirectInputEffect_Initialize(effect, hInstance, DIRECTINPUT_VERSION, hr = IDirectInputEffect_Initialize(effect, hInstance, data->version,
&GUID_ConstantForce); &GUID_ConstantForce);
ok(hr==DI_OK,"IDirectInputEffect_Initialize failed: %08x\n", hr); ok(hr==DI_OK,"IDirectInputEffect_Initialize failed: %08x\n", hr);
hr = IDirectInputEffect_SetParameters(effect, &eff, DIEP_AXES | DIEP_DIRECTION | hr = IDirectInputEffect_SetParameters(effect, &eff, DIEP_AXES | DIEP_DIRECTION |