LONG
KeReadStateMutex(
IN PKMUTEX Mutex
);
KeReadStateMutex returns the current state, Signaled or Not-Signaled, of a given mutex object.
If the return value is one, the state of the mutex object is Signaled.
Callers of KeReadStateMutex must be running at IRQL <= DISPATCH_LEVEL.