Commit d385675f authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

winmm: Fix check for DCB_NULL callback type.

Noticed by Francois Gouget.
parent 2754c750
......@@ -305,7 +305,7 @@ static DWORD WINMM_NotifyClient(WINMM_CBInfo *info, WORD msg, DWORD_PTR param1,
{
TRACE("(%p, %u, %lx, %lx)\n", info->hwave, msg, param1, param2);
if(info->flags & DCB_NULL)
if((info->flags & DCB_TYPEMASK) == DCB_NULL)
return MMSYSERR_NOERROR;
if(!DriverCallback(info->callback, info->flags, (HDRVR)info->hwave,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment