The NDIS_INIT_MUTEX macro initializes a mutex object and sets it to a signaled state.
void NDIS_INIT_MUTEX( _M_ );
A pointer to a caller-supplied NDIS_MUTEX-type mutex object. NDIS_MUTEX is a wrapper for KMUTEX.
This macro does not return a value.
NDIS network drivers should use the NDIS_INIT_MUTEX macro to initialize a mutex.
A driver cannot wait for a nonzero time interval on a mutex object at a raised IRQL or in an arbitrary thread context (that is, the context of whatever thread is current when a driver function is called).
Storage for a mutex object must reside in a driver context area or in a nonpaged pool that the caller allocated.
The NDIS_INIT_MUTEX macro is an NDIS wrapper for the KeInitializeMutex routine.
|Minimum supported client||Supported in NDIS 6.0 and later.|