StorPortRegisterDriverProxy function (storport.h)
StorPortRegisterDriverProxy creates a driver proxy endpoint for the specified driver object.
Syntax
ULONG StorPortRegisterDriverProxy(
PVOID HwDeviceExtension,
PVOID DriverObject,
PSTOR_DRIVER_PROXY_EXTENSION *ProxyExtension
);
Parameters
HwDeviceExtension
[in] A pointer to the hardware device extension for the host bus adapter (HBA).
DriverObject
[in] A pointer to the driver object.
ProxyExtension
[out] Pointer to StorPort's opaque data that contains the allocated driver proxy extension.
Return value
StorPortRegisterDriverProxy returns one of the following status codes:
Return code | Description |
---|---|
STOR_STATUS_NOT_IMPLEMENTED | This function is not implemented on the active operating system. |
STOR_STATUS_SUCCESS | The operation was successful. |
STOR_STATUS_INVALID_PARAMETER | The operation fails with this return value if one or more of the parameters are invalid. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11, version 24H2 |
Header | storport.h |