Freigeben über


NdisInitializeEvent (Compact 2013)

3/26/2014

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

Syntax

VOID NdisInitializeEvent(
  PNDIS_EVENT Event
);

Parameters

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

Return Value

None.

Remarks

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.

Requirements

Header

ndis.h

Library

ndis.lib

See Also

Reference

NDIS Event Interface
MiniportInitializeEx
NdisResetEvent
NdisSetEvent
NdisWaitEvent