msacm32: fix 64bit build

svn path=/branches/ros-amd64-bringup/; revision=40989
This commit is contained in:
Timo Kreuzer
2009-05-19 19:55:46 +00:00
parent 4e8a65c0e2
commit 7413e6dd9e
2 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -475,7 +475,7 @@ static BOOL MSACM_FormatEnumHelper(PWINE_ACMDRIVERID padid, HACMDRIVER had,
continue;
hdrvr = OpenDriver(padid->pszFileName,0,0);
SendDriverMessage(hdrvr,ACMDM_FORMAT_SUGGEST,(DWORD)&adfs,(fdwEnum & 0x000000FFL));
SendDriverMessage(hdrvr,ACMDM_FORMAT_SUGGEST,(DWORD_PTR)&adfs,(fdwEnum & 0x000000FFL));
if (acmFormatDetailsW(had, pafd, ACM_FORMATDETAILSF_FORMAT) != MMSYSERR_NOERROR)
continue;
+14
View File
@@ -63,3 +63,17 @@ Index: msacm.rc
#include "msacm_Tr.rc"
+#include "msacm_Uk.rc"
#include "msacm_Zh.rc"
Index: format.c
===================================================================
--- format.c (Revision 40986)
+++ format.c (Arbeitskopie)
@@ -475,7 +475,7 @@
continue;
hdrvr = OpenDriver(padid->pszFileName,0,0);
- SendDriverMessage(hdrvr,ACMDM_FORMAT_SUGGEST,(DWORD)&adfs,(fdwEnum & 0x000000FFL));
+ SendDriverMessage(hdrvr,ACMDM_FORMAT_SUGGEST,(DWORD_PTR)&adfs,(fdwEnum & 0x000000FFL));
if (acmFormatDetailsW(had, pafd, ACM_FORMATDETAILSF_FORMAT) != MMSYSERR_NOERROR)
continue;