winmm: Pass the right message to hwnd from mixer callback.

This commit is contained in:
Maarten Lankhorst 2007-04-20 20:19:05 +02:00 committed by Alexandre Julliard
parent d529c63ced
commit 0c6a63a062
1 changed files with 1 additions and 1 deletions

View File

@ -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,