// ntddk.h
VOID MmFreeContiguousMemorySpecifyCache(
[in] PVOID BaseAddress,
[in] SIZE_T NumberOfBytes,
[in] MEMORY_CACHING_TYPE CacheType
);
View the official Windows Driver Kit DDI reference// wdm.h
VOID MmFreeContiguousMemorySpecifyCache(
[in] PVOID BaseAddress,
[in] SIZE_T NumberOfBytes,
[in] MEMORY_CACHING_TYPE CacheType
);
View the official Windows Driver Kit DDI referenceNo description available.
The MmFreeContiguousMemorySpecifyCache routine frees a buffer that was allocated by an MmAllocateContiguousMemorySpecifyCache*Xxx* routine.
BaseAddress [in]Specifies the base address of the buffer to be freed. Must match the address returned by the MmAllocateContiguousMemorySpecifyCache*Xxx* call that allocated the buffer.
NumberOfBytes [in]Specifies the size in bytes of the buffer to be freed. Must match the size requested when the buffer was allocated by the MmAllocateContiguousMemorySpecifyCache*Xxx* routine.
CacheType [in]Specifies the cache type of the buffer to be freed. Must match the cache type requested when the buffer was allocated by the MmAllocateContiguousMemorySpecifyCache*Xxx* routine.
The MmFreeContiguousMemorySpecifyCache routine frees a block of physically contiguous memory that was allocated by a previous call to the MmAllocateContiguousMemorySpecifyCache or MmAllocateContiguousMemorySpecifyCacheNode routine. However, MmFreeContiguousMemory is the preferred routine to use to free memory that was allocated by an MmAllocateContiguousMemorySpecifyCache*Xxx* routine. MmFreeContiguousMemory is faster than MmFreeContiguousMemorySpecifyCache and requires fewer parameters.
MmAllocateContiguousMemorySpecifyCache
MmAllocateContiguousMemorySpecifyCacheNode
The MmFreeContiguousMemorySpecifyCache routine frees a buffer that was allocated by an MmAllocateContiguousMemorySpecifyCache*Xxx* routine.
BaseAddress [in]Specifies the base address of the buffer to be freed. Must match the address returned by the MmAllocateContiguousMemorySpecifyCache*Xxx* call that allocated the buffer.
NumberOfBytes [in]Specifies the size in bytes of the buffer to be freed. Must match the size requested when the buffer was allocated by the MmAllocateContiguousMemorySpecifyCache*Xxx* routine.
CacheType [in]Specifies the cache type of the buffer to be freed. Must match the cache type requested when the buffer was allocated by the MmAllocateContiguousMemorySpecifyCache*Xxx* routine.
The MmFreeContiguousMemorySpecifyCache routine frees a block of physically contiguous memory that was allocated by a previous call to the MmAllocateContiguousMemorySpecifyCache or MmAllocateContiguousMemorySpecifyCacheNode routine. However, MmFreeContiguousMemory is the preferred routine to use to free memory that was allocated by an MmAllocateContiguousMemorySpecifyCache*Xxx* routine. MmFreeContiguousMemory is faster than MmFreeContiguousMemorySpecifyCache and requires fewer parameters.
MmAllocateContiguousMemorySpecifyCache
MmAllocateContiguousMemorySpecifyCacheNode