Module: wine Branch: master Commit: 0c6a63a062b6dd8edad3d21b43cf18e6360b8591 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0c6a63a062b6dd8edad3d21b43...
Author: Maarten Lankhorst m.b.lankhorst@gmail.com Date: Fri Apr 20 20:19:05 2007 +0200
winmm: Pass the right message to hwnd from mixer callback.
---
dlls/winmm/winmm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winmm/winmm.c b/dlls/winmm/winmm.c index f17ad7c..0881f16 100644 --- a/dlls/winmm/winmm.c +++ b/dlls/winmm/winmm.c @@ -313,7 +313,7 @@ static void CALLBACK MIXER_WCallback(HMIXEROBJ hmx, UINT uMsg, DWORD_PTR dwInsta if (!dwInstance) return;
- PostMessageW(hWnd, MM_MIXM_CONTROL_CHANGE, (WPARAM)hmx, (LPARAM)dwParam); + PostMessageW(hWnd, uMsg, (WPARAM)hmx, (LPARAM)dwParam); }
UINT MIXER_Open(LPHMIXER lphMix, UINT uDeviceID, DWORD_PTR dwCallback,