// storport.h
ULONG StorPortIsDriverHotSwapEnabled(
PVOID HwDeviceExtension,
PVOID DriverObject
);
View the official Windows Driver Kit DDI referenceNo description available.
A miniport driver calls the StorPortIsDriverHotSwapEnabled function to determine whether driver hot swap is enabled in the kernel.
HwDeviceExtension[in] A pointer to the hardware device extension for the host bus adapter (HBA).
DriverObject[in] Pointer to the driver object.
StorPortIsDriverHotSwapEnabled returns a STOR_STATUS_SUCCESS if driver hot swap is enabled. Otherwise, it returns a value such as:
| Return value | Description |
|---|---|
| STOR_STATUS_INVALID_PARAMETER | The driver object is NULL. |
| STOR_STATUS_NOT_IMPLEMENTED | This function isn't implemented on the active operating system. |
StorPortRegisterDriverProxyEndpoints
StorPortGetDriverProxyEndpointWrapper