NdisInitializeEvent - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndis.h

VOID NdisInitializeEvent(
  [out] PNDIS_EVENT Event
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ndis-ndisinitializeevent)

NdisInitializeEvent function

Description

The NdisInitializeEvent function sets up an event object during driver initialization to be used subsequently as a synchronization mechanism.

Parameters

Event [out]

A pointer to caller-supplied storage for the event object, which is opaque to drivers.

Remarks

The NdisInitializeEvent function creates an event object that has an event type of NotificationEvent and an initial state of not-signaled. For more information about notification events, see Defining and Using an Event Object.

The Event pointer passed to NdisInitializeEvent is a required parameter to all other NdisXxxEvent functions.

While driver functions that must run at IRQL <= DISPATCH_LEVEL can call the NdisSetEvent and NdisResetEvent functions ,calling NdisWaitEvent from any IRQL > PASSIVE_LEVEL is a fatal error.

See also

MiniportInitializeEx

NdisResetEvent

NdisSetEvent

NdisWaitEvent