Alex Ionescu wrote:
How can a user-mode thread create a mutex?
Simply with CreateMutex. I change the assert statement to:
ASSERT(Mutant->Header.Size == sizeof(KMUTANT)/sizeof(ULONG));
This does ros crash only for mutex objects and not for mutant objects.
- Hartmut