Hi This change allown me run all MS DirectInput sample with out any problem. it also take care of bad writen dinput program that try getting the mouse, Without calling on right api, see my commmect in dinput. I have not tested in wine, But I have tested it in ReactOS and Windows. BestReagds Magnus Olsen greatlord at reactos.org