Previous Next

KeReadStateMutex

The KeReadStateMutex routine returns the current state, signaled or not signaled, of a given mutex object.

LONG 
  KeReadStateMutex(
    IN PRKMUTEX  Mutex
    );

Parameters

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

Return Value

If the return value is 1, the state of the mutex object is signaled.

Headers

Declared in wdm.h and ntddk.h. Include wdm.h or ntddk.h.

Comments

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

See Also

ExInitializeFastMutex, KeInitializeMutex, KeReleaseMutex