winmm: Use MCI_HWND and MCI_HDC in resource files.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Fri Nov 12 06:40:34 CST 2010


Hi,

the MCI parser is still broken for 64 bit and this patch does not fix
that, but it eliminates the couple of OOPS that are printed when using
a native mciavi32.dll for those 32 bit apps that need it.
Now the resource definitions are correct.

That is reason enough to submit it (after laying dormant for over
half a year as you can see from the patch date).

These MCI_H* types are truly DWORD_PTR=HANDLE-sized
(MCI_*_WINDOW_PARMS contains a HWND,
 MCI_*_UPDATE_PARAMS a HDC), which
is why using MCISendString fails with them on 64 bit.

Regards,
	Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winmm-Use-MCI_HWND-and-MCI_HDC-in-resource-files.patch
Type: application/octet-stream
Size: 6547 bytes
Desc: 0001-winmm-Use-MCI_HWND-and-MCI_HDC-in-resource-files.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20101112/1dc9d31f/attachment-0001.obj>


More information about the wine-patches mailing list