winmm: Pass the right message to hwnd from mixer callback.
This commit is contained in:
parent
d529c63ced
commit
0c6a63a062
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue