Eric Pouech : winmm: Use the new 16=>32 thunks for Aux driver type.

Alexandre Julliard julliard at winehq.org
Fri Oct 23 10:19:02 CDT 2009


Module: wine
Branch: master
Commit: beeac4159572b563c1c27ca31d8fae59f7db53f1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=beeac4159572b563c1c27ca31d8fae59f7db53f1

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Thu Oct 22 22:09:46 2009 +0200

winmm: Use the new 16=>32 thunks for Aux driver type.

---

 dlls/winmm/mmsystem.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/winmm/mmsystem.c b/dlls/winmm/mmsystem.c
index 4007d46..1549553 100644
--- a/dlls/winmm/mmsystem.c
+++ b/dlls/winmm/mmsystem.c
@@ -443,6 +443,11 @@ DWORD WINAPI mixerMessage16(HMIXER16 hmix, UINT16 uMsg, DWORD dwParam1,
     return mixerMessage(HMIXER_32(hmix), uMsg, dwParam1, dwParam2);
 }
 
+/* ###################################################
+ * #                     AUX                         #
+ * ###################################################
+ */
+
 /**************************************************************************
  * 				auxGetNumDevs		[MMSYSTEM.350]
  */
@@ -451,11 +456,6 @@ UINT16 WINAPI auxGetNumDevs16(void)
     return auxGetNumDevs();
 }
 
-/* ###################################################
- * #                     AUX                         #
- * ###################################################
- */
-
 /**************************************************************************
  * 				auxGetDevCaps		[MMSYSTEM.351]
  */
@@ -509,7 +509,7 @@ DWORD WINAPI auxOutMessage16(UINT16 uDeviceID, UINT16 uMessage, DWORD dw1, DWORD
 	/* no argument conversion needed */
 	break;
     case AUXDM_GETVOLUME:
-	return auxGetVolume16(uDeviceID, MapSL(dw1));
+	return auxGetVolume(uDeviceID, MapSL(dw1));
     case AUXDM_GETDEVCAPS:
 	return auxGetDevCaps16(uDeviceID, MapSL(dw1), dw2);
     default:




More information about the wine-cvs mailing list