On 11/25/2011 04:14 AM, Jacek Caban wrote:
Hi Vitaliy,
On 11/25/11 04:17, Vitaliy Margolen wrote:
Fix QueryInterface, simplify use of AddRef, and replace "LPDIRECTINPUTJOYCONFIG8" with "IDirectInputJoyConfig8 *".
dlls/dinput/dinput_main.c | 7 ++ dlls/dinput/dinput_private.h | 2 + dlls/dinput/joystick.c | 196 ++++++++++++++++++++++++++++++++++ include/dinputd.h | 243 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 448 insertions(+), 0 deletions(-) create mode 100644 include/dinputd.h
- if (IsEqualGUID(&IID_IDirectInputJoyConfig8, riid ))
- {
- return create_joy_config( riid, ppobj );
- }
This has the same problem as we discussed about msxml3 lately:
http://www.winehq.org/pipermail/wine-devel/2011-November/093279.html
Are you sure native is broken the same way?
You were right. It is a part of IDirectInput not a standalone class. Sent a fixed patch.
Vitaliy.