StorPortFreeContiguousMemorySpecifyCache 函式 (storport.h)

StorPortFreeContiguousMemorySpecifyCache 例程會在系統地址空間的非分頁部分解除分配一系列非快取記憶體。

語法

C++
ULONG StorPortFreeContiguousMemorySpecifyCache(
  [in] PVOID               HwDeviceExtension,
  [in] PVOID               BaseAddress,
  [in] SIZE_T              NumberOfBytes,
  [in] MEMORY_CACHING_TYPE CacheType
);

參數

[in] HwDeviceExtension

主機總線適配卡 (HBA) 的硬體裝置擴充功能指標。

[in] BaseAddress

要釋放的基底虛擬位址。

[in] NumberOfBytes

配置給要求的位元組數目。 當先前呼叫 storPortAllocateContiguousMemorySpecifyCacheNode 例程時,這必須是參數所提供的相同數位。

[in] CacheType

呼叫 storPortAllocateContiguousMemorySpecifyCacheNode 例程時所使用的快取類型。

傳回值

StorPortFreeContiguousMemorySpecifyCache 例程會傳回下列其中一個狀態代碼:

傳回碼 描述
STOR_STATUS_NOT_IMPLEMENTED
此函式不會在作用中的作系統上實作。
STOR_STATUS_SUCCESS
作業成功。

要求

要求 價值
最低支援的用戶端 適用於 Windows 7 和更新版本的 Windows作系統。
目標平臺 普遍
標頭 storport.h (包括 Storport.h)
IRQL <=DISPATCH_LEVEL
DDI 合規性規則 StorPortIrql(storport)

另請參閱

StorPortAllocateContiguousMemorySpecifyCacheNode