Export (0) Print
Expand All

NdisInitializeEvent (Compact 2013)

3/26/2014

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


VOID NdisInitializeEvent(
  PNDIS_EVENT Event
);

Event

[in] Points to caller-supplied storage for the event object, which is opaque to drivers.

The NdisInitializeEvent function creates an event object that has an event type of NotificationEvent and an initial state of not-signaled.

The Event pointer that is passed to NdisInitializeEvent is a required parameter to all other Ndis..Event 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.

Header

ndis.h

Library

ndis.lib

Show:
© 2015 Microsoft