StorPortSetEvent function (storport.h)
A miniport can call StorPortSetEvent to set an event object to the signaled state.
Syntax
ULONG StorPortSetEvent(
PVOID HwDeviceExtension,
PSTOR_EVENT Event
);
Parameters
HwDeviceExtension
Pointer to the miniport's device extension.
Event
Pointer to a STOR_EVENT structure containing the event object.
Return value
StorPortSetEvent returns a status code such as one of the following:
Return code | Description |
---|---|
STOR_STATUS_INVALID_IRQL | The current IRQL is greater than DISPATCH_LEVEL. |
STOR_STATUS_INVALID_PARAMETER | Either HwDeviceExtension or Event are invalid parameters. |
STOR_STATUS_SUCCESS | The event object was successfully set to the signaled state. |
STOR_STATUS_UNSUCCESSFUL | The operation failed. |
Remarks
See KeSetEvent for more details.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 |
Header | storport.h |
See also
KeSetEvent for more details.