// storport.h
ULONG StorPortSetEvent(
PVOID HwDeviceExtension,
PSTOR_EVENT Event
);
View the official Windows Driver Kit DDI referenceNo description available.
A miniport can call StorPortSetEvent to set an event object to the signaled state.
HwDeviceExtensionPointer to the miniport's device extension.
EventPointer to a STOR_EVENT structure containing the event object.
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. |
See KeSetEvent for more details.
KeSetEvent for more details.