winmm: Fix check for DCB_NULL callback type.

Noticed by Francois Gouget.
This commit is contained in:
Andrew Eikum 2011-07-18 11:19:37 -05:00 committed by Alexandre Julliard
parent 2754c75092
commit d385675f36
1 changed files with 1 additions and 1 deletions

View File

@ -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); 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; return MMSYSERR_NOERROR;
if(!DriverCallback(info->callback, info->flags, (HDRVR)info->hwave, if(!DriverCallback(info->callback, info->flags, (HDRVR)info->hwave,