StorPortFreeDeviceBase - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// storport.h

STORPORT_API VOID StorPortFreeDeviceBase(
  [in] PVOID HwDeviceExtension,
  [in] PVOID MappedAddress
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-storport-storportfreedevicebase)

StorPortFreeDeviceBase function

Description

StorPortFreeDeviceBase frees a range of device I/O memory that was mapped by StorPortGetDeviceBase.

Parameters

HwDeviceExtension [in]

A pointer to the hardware device extension. This is a per HBA storage area that the port driver allocates and initializes on behalf of the miniport driver. Miniport drivers usually store HBA-specific information in this extension, such as the state of the HBA and the mapped access ranges for the HBA. This area is available to the miniport driver immediately after the miniport driver calls StorPortInitialize. The port driver frees this memory when it removes the device.

MappedAddress [in]

Pointer to region of memory to be freed.

Return value

None

See also

ScsiPortFreeDeviceBase

StorPortGetDeviceBase