Help with fast mutex

Hi,

In my driver under Windows NT 4, I use a fast mutex. However when I call
ExReleaseFastMutex(), I get an assertion in the debugger:

Assertion failed: (Event)->Type==NotificationEvent ||
(Event)->Type==SynchronizationEvent in objevent.c at line 380

Any help would be welcome

Nicolas

Nicolas Mugnier wrote:

In my driver under Windows NT 4, I use a fast mutex. However when I call
ExReleaseFastMutex(), I get an assertion in the debugger:

Assertion failed: (Event)->Type==NotificationEvent ||
(Event)->Type==SynchronizationEvent in objevent.c at line 380

This could be caused by failing to initialize the fast mutex object,
overwriting the object with other stuff, or freeing the memory that
contains the object.


Walter Oney, Consulting and Training
Basic and Advanced Driver Programming Seminars
Now teaming with John Hyde for USB Device Engineering Seminars
Check out our schedule at http://www.oneysoft.com