The StorPortFreeContiguousMemorySpecifyCache routine deallocates a range of noncached memory in the nonpaged portion of the system address space.
ULONG StorPortFreeContiguousMemorySpecifyCache( _In_ PVOID HwDeviceExtension, _In_ PVOID BaseAddress, _In_ SIZE_T NumberOfBytes, _In_ MEMORY_CACHING_TYPE CacheType );
A pointer to the hardware device extension for the host bus adapter (HBA).
The base virtual address to free.
The number of bytes that are allocated to the request. This must be the same number that was supplied as a parameter when the StorPortAllocateContiguousMemorySpecifyCacheNode routine was previously called.
The cache type that is used in the call to the StorPortAllocateContiguousMemorySpecifyCacheNode routine.
The StorPortFreeContiguousMemorySpecifyCache routine returns one of the following status codes:
||This function is not implemented on the active operating system.|
||The operation was successful.|
|Windows version||Available in Windows 7 and later versions of the Windows operating systems. Available in Windows 7 and later versions of the Windows operating systems.|
|Header||storport.h (include Storport.h)|
|DDI compliance rules||StorPortIrql|