Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
StorPortInitializeEvent initializes an event object as a synchronization or notification type event, and sets it to a signaled or not-signaled state.
Syntax
ULONG StorPortInitializeEvent(
PVOID HwDeviceExtension,
PSTOR_EVENT Event,
STOR_EVENT_TYPE Type,
BOOLEAN 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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 |
Header | storport.h |