Commit af32b64c authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

midimap: Enable compilation with long types.

parent 68271331
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = midimap.dll MODULE = midimap.dll
IMPORTS = winmm user32 advapi32 IMPORTS = winmm user32 advapi32
......
...@@ -286,7 +286,7 @@ static DWORD modOpen(DWORD_PTR *lpdwUser, LPMIDIOPENDESC lpDesc, DWORD dwFlags) ...@@ -286,7 +286,7 @@ static DWORD modOpen(DWORD_PTR *lpdwUser, LPMIDIOPENDESC lpDesc, DWORD dwFlags)
{ {
MIDIMAPDATA* mom = HeapAlloc(GetProcessHeap(), 0, sizeof(MIDIMAPDATA)); MIDIMAPDATA* mom = HeapAlloc(GetProcessHeap(), 0, sizeof(MIDIMAPDATA));
TRACE("(%p %p %08x)\n", lpdwUser, lpDesc, dwFlags); TRACE("(%p %p %08lx)\n", lpdwUser, lpDesc, dwFlags);
if (!mom) return MMSYSERR_NOMEM; if (!mom) return MMSYSERR_NOMEM;
if (!lpDesc) { if (!lpDesc) {
...@@ -432,7 +432,7 @@ static DWORD modData(MIDIMAPDATA* mom, DWORD_PTR dwParam) ...@@ -432,7 +432,7 @@ static DWORD modData(MIDIMAPDATA* mom, DWORD_PTR dwParam)
} }
break; break;
default: default:
FIXME("ooch %lx\n", dwParam); FIXME("ooch %Ix\n", dwParam);
} }
return ret; return ret;
...@@ -523,7 +523,7 @@ static LRESULT MIDIMAP_drvClose(void); ...@@ -523,7 +523,7 @@ static LRESULT MIDIMAP_drvClose(void);
DWORD WINAPI MIDIMAP_modMessage(UINT wDevID, UINT wMsg, DWORD_PTR dwUser, DWORD WINAPI MIDIMAP_modMessage(UINT wDevID, UINT wMsg, DWORD_PTR dwUser,
DWORD_PTR dwParam1, DWORD_PTR dwParam2) DWORD_PTR dwParam1, DWORD_PTR dwParam2)
{ {
TRACE("(%u, %04X, %08lX, %08lX, %08lX);\n", TRACE("(%u, %04X, %08IX, %08IX, %08IX);\n",
wDevID, wMsg, dwUser, dwParam1, dwParam2); wDevID, wMsg, dwUser, dwParam1, dwParam2);
switch (wMsg) switch (wMsg)
......
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