The wavemap driver wasn't passing the callback type to the
DriverCallback routine correctly.
This commit is contained in:
parent
05d006be47
commit
0497aa649a
|
@ -620,6 +620,8 @@ BOOL WINAPI DriverCallback(DWORD dwCallBack, UINT uFlags, HDRVR hDev,
|
|||
switch (uFlags & DCB_TYPEMASK) {
|
||||
case DCB_NULL:
|
||||
TRACE("Null !\n");
|
||||
if (dwCallBack)
|
||||
WARN("uFlags=%04X has null DCB value, but dwCallBack=%08lX is not null !\n");
|
||||
break;
|
||||
case DCB_WINDOW:
|
||||
TRACE("Window(%04lX) handle=%04X!\n", dwCallBack, hDev);
|
||||
|
|
|
@ -71,7 +71,7 @@ static void CALLBACK WAVEMAP_DstCallback(HDRVR hDev, UINT uMsg, DWORD dwInstance
|
|||
ERR("Unknown msg %u\n", uMsg);
|
||||
}
|
||||
|
||||
DriverCallback(wom->dwCallback, wom->dwFlags, hDev, uMsg,
|
||||
DriverCallback(wom->dwCallback, HIWORD(wom->dwFlags), hDev, uMsg,
|
||||
wom->dwClientInstance, dwParam1, dwParam2);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue