// wdm.h
VOID KeInitializeMutex(
[out] PRKMUTEX Mutex,
[in] ULONG Level
);
View the official Windows Driver Kit DDI reference
No description available.
The KeInitializeMutex routine initializes a mutex object, setting it to a signaled state.
Mutex
[out]Pointer to a mutex object, for which the caller provides the storage. The storage must be 4-byte aligned on 32-bit platforms, and 8-byte aligned on 64-bit platforms.
Level
[in]Reserved. Drivers set this to zero.
For better performance, use fast mutexes or guarded mutexes. For more information, see Alternatives to Mutex Objects.
The mutex object is initialized with an initial state of signaled.
Storage for a mutex object must be resident: in the device extension of a driver-created device object, in the controller extension of a driver-created controller object, or in nonpaged pool allocated by the caller.
For more information about mutex objects, see Mutex Objects.