StorPortInitializeEvent - NtDoc

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

ULONG StorPortInitializeEvent(
  PVOID           HwDeviceExtension,
  PSTOR_EVENT     Event,
  STOR_EVENT_TYPE Type,
  BOOLEAN         State
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-storport-storportinitializeevent)

StorPortInitializeEvent function

Description

StorPortInitializeEvent initializes an event object as a synchronization or notification type event, and sets it to a signaled or not-signaled state.

Parameters

HwDeviceExtension

Pointer to the miniport's hardware device extension.

Event

Pointer to a caller-allocated STOR_EVENT structure that describes the event object.

Type

A STOR_EVENT_TYPE enum that identifies the event type.

State

Boolean value that specifies the initial state of the event.

Return value

StorPortInitializeEvent returns STOR_STATUS_SUCCESS on success. It returns STOR_STATUS_INVALID_PARAMETER if any of the parameters are invalid.

Remarks

A miniport can call StorPortInitializeEvent to initialize an event object as a synchronization or notification-type event, and set the event object to a signaled or not-signaled state.

See KeInitializeEvent for more details.

See also

KeInitializeEvent

STOR_EVENT

STOR_EVENT_TYPE

StorPortSetEvent

StorPortWaitForSingleObject