Commit acecec4a authored by Alexandre Julliard's avatar Alexandre Julliard

winmm: Command resources should not depend on pointer size.

parent 53e207fd
......@@ -22,11 +22,7 @@
#include "mmddk.h"
#include "digitalv.h"
#ifdef MCI_INTEGER64
#define MCI_DWORD_PTR MCI_INTEGER64
#else
#define MCI_DWORD_PTR MCI_INTEGER
#endif
#define MCI_DWORD_PTR 13 /* MCI_INTEGER64 */
MCIAVI RCDATA
BEGIN
......
......@@ -22,11 +22,7 @@
#include "mmddk.h"
#include "digitalv.h"
#ifdef MCI_INTEGER64
#define MCI_DWORD_PTR MCI_INTEGER64
#else
#define MCI_DWORD_PTR MCI_INTEGER
#endif
#define MCI_DWORD_PTR 13 /* MCI_INTEGER64 */
MCIAVI RCDATA
BEGIN
......
......@@ -1228,8 +1228,7 @@ static DWORD MCI_HandleReturnValues(DWORD dwRet, LPWINE_MCIDRIVER wmd, DWORD ret
}
break;
}
#ifdef MCI_INTEGER64
case MCI_INTEGER64:
case 13: /* MCI_INTEGER64 */
{
DWORD_PTR data = *(DWORD_PTR *)(params + 1);
switch (dwRet & 0xFFFF0000ul) {
......@@ -1263,7 +1262,6 @@ static DWORD MCI_HandleReturnValues(DWORD dwRet, LPWINE_MCIDRIVER wmd, DWORD ret
}
break;
}
#endif
case MCI_STRING:
switch (dwRet & 0xFFFF0000ul) {
case 0:
......@@ -1484,11 +1482,9 @@ DWORD WINAPI mciSendStringW(LPCWSTR lpstrCommand, LPWSTR lpstrRet,
case MCI_RECT:
offset += 4 * sizeof(DWORD);
break;
#ifdef MCI_INTEGER64
case MCI_INTEGER64:
case 13: /* MCI_INTEGER64 */
offset += sizeof(DWORD_PTR);
break;
#endif
default:
FIXME("Unknown MCI return type %d\n", retType);
dwRet = MCIERR_PARSER_INTERNAL;
......
......@@ -25,11 +25,7 @@
#include "windef.h"
#include "mmddk.h"
#ifdef MCI_INTEGER64
#define MCI_DWORD_PTR MCI_INTEGER64
#else
#define MCI_DWORD_PTR MCI_INTEGER
#endif
#define MCI_DWORD_PTR 13 /* MCI_INTEGER64 */
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment