[PATCH 3/3] include: Add MCI_INTEGER64 and MCI_INTEGER3264 mci types.
Octavian Voicu
octavian.voicu at gmail.com
Wed Sep 1 12:07:10 CDT 2010
MCI_INTEGER64 is only defined for _WIN64 in DDK.
MCI_INTEGER3264 is wine specific and will be needed because MCI_STATUS
return type is MCI_INTEGER64 in 64-bit winmm.dll, and MCI_INTEGER
in 32-bit winmm.dll.
---
include/mmddk.h | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/include/mmddk.h b/include/mmddk.h
index d3593b0..d4dc3bd 100644
--- a/include/mmddk.h
+++ b/include/mmddk.h
@@ -380,6 +380,18 @@ typedef JOYDEVMSGPROC *LPJOYDEVMSGPROC;
#define MCI_HPAL 11
#define MCI_HDC 12
+#ifdef _WIN64
+#define MCI_INTEGER64 13
+#endif /* _WIN64 */
+
+#ifdef __WINESRC__
+#ifdef _WIN64
+#define MCI_INTEGER3264 MCI_INTEGER64
+#elif
+#define MCI_INTEGER3264 MCI_INTEGER
+#endif /* _WIN64 */
+#endif /* __WINESRC__ */
+
#define MAKEMCIRESOURCE(wRet, wRes) MAKELRESULT((wRet), (wRes))
typedef struct {
--
1.7.0.4
More information about the wine-patches
mailing list