StorPortRegisterDriverProxyEndpoints function (storport.h)

StorPortRegisterDriverProxyEndpoints registers driver proxy endpoints with the kernel.

Syntax

ULONG StorPortRegisterDriverProxyEndpoints(
  PVOID                                   HwDeviceExtension,
  PSTOR_DRIVER_PROXY_EXTENSION            ProxyExtension,
  PSTOR_DRIVER_PROXY_ENDPOINT_INFORMATION EndpointInfo,
  ULONG                                   Count
);

Parameters

HwDeviceExtension

[in] A pointer to the hardware device extension for the host bus adapter (HBA).

ProxyExtension

[in] Pointer to opaque data that contains the driver proxy extension. Storport returns this information when the miniport driver calls StorPortRegisterDriverProxy.

EndpointInfo

[in/out] Pointer to an array of STOR_DRIVER_PROXY_ENDPOINT_INFORMATION structures that contain the driver proxy endpoint information.

Count

[in] The number of elements in the array that EndpointInfo points to.

Return value

StorPortRegisterDriverProxyEndpoints returns one of the following STOR_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

See also

STOR_DRIVER_PROXY_ENDPOINT_INFORMATION

StorPortGetDriverProxyEndpointWrapper

StorPortRegisterDriverProxy