KeReadStateMutex

LONG
KeReadStateMutex(

IN PKMUTEX Mutex
);

KeReadStateMutex returns the current state, Signaled or Not-Signaled, of a given mutex object.

Parameters

Mutex

Points to an initialized mutex object for which the caller provides the storage.

Return Value

If the return value is one, the state of the mutex object is Signaled.

Comments

Callers of KeReadStateMutex must be running at IRQL <= DISPATCH_LEVEL.

See Also

ExInitializeFastMutex, KeInitializeMutex, KeReleaseMutex