Jörg Höhle : mmsystem: Log MCI command name again .
Alexandre Julliard
julliard at winehq.org
Wed Jun 16 13:23:21 CDT 2010
Module: wine
Branch: master
Commit: 8f5ec326e11362d73a27af4b6c098c14af38cd0c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8f5ec326e11362d73a27af4b6c098c14af38cd0c
Author: Jörg Höhle <hoehle at users.sourceforge.net>
Date: Mon Jun 14 20:21:22 2010 +0200
mmsystem: Log MCI command name again.
---
dlls/mmsystem.dll16/mci16.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/mmsystem.dll16/mci16.c b/dlls/mmsystem.dll16/mci16.c
index f09923a..914636d 100644
--- a/dlls/mmsystem.dll16/mci16.c
+++ b/dlls/mmsystem.dll16/mci16.c
@@ -627,7 +627,7 @@ DWORD WINAPI mciSendCommand16(UINT16 wDevID, UINT16 wMsg, DWORD dwParam1, DWORD
BOOL to32;
DWORD_PTR dwParam2 = p2;
- TRACE("(%04X, %u, %08X, %08lX)\n", wDevID, wMsg, dwParam1, dwParam2);
+ TRACE("(%04X, %s, %08X, %08lX)\n", wDevID, MCI_MessageToString(wMsg), dwParam1, dwParam2);
switch (wMsg) {
case MCI_CLOSE:
@@ -651,11 +651,11 @@ DWORD WINAPI mciSendCommand16(UINT16 wDevID, UINT16 wMsg, DWORD dwParam1, DWORD
switch (res = MCI_MapMsg16To32W(wMsg, dwParam1, &dwParam2)) {
case MMSYSTEM_MAP_MSGERROR:
- TRACE("Not handled yet (%u)\n", wMsg);
+ TRACE("%s not handled yet\n", MCI_MessageToString(wMsg));
dwRet = MCIERR_DRIVER_INTERNAL;
break;
case MMSYSTEM_MAP_NOMEM:
- TRACE("Problem mapping msg=%u from 16 to 32a\n", wMsg);
+ TRACE("Problem mapping %s from 16 to 32a\n", MCI_MessageToString(wMsg));
dwRet = MCIERR_OUT_OF_MEMORY;
break;
case MMSYSTEM_MAP_OK:
More information about the wine-cvs
mailing list