MmFreeContiguousMemorySpecifyCache - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntddk-mmfreecontiguousmemoryspecifycache)

MmFreeContiguousMemorySpecifyCache function (ntddk.h)

Description

The MmFreeContiguousMemorySpecifyCache routine frees a buffer that was allocated by an MmAllocateContiguousMemorySpecifyCacheXxx routine.

Parameters

BaseAddress [in]

Specifies the base address of the buffer to be freed. Must match the address returned by the MmAllocateContiguousMemorySpecifyCacheXxx 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 MmAllocateContiguousMemorySpecifyCacheXxx 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 MmAllocateContiguousMemorySpecifyCacheXxx routine.

Remarks

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 MmAllocateContiguousMemorySpecifyCacheXxx routine. MmFreeContiguousMemory is faster than MmFreeContiguousMemorySpecifyCache and requires fewer parameters.

See also

MmAllocateContiguousMemorySpecifyCache

MmAllocateContiguousMemorySpecifyCacheNode

MmFreeContiguousMemory


Windows Driver Kit DDI reference (nf-wdm-mmfreecontiguousmemoryspecifycache)

MmFreeContiguousMemorySpecifyCache function (wdm.h)

Description

The MmFreeContiguousMemorySpecifyCache routine frees a buffer that was allocated by an MmAllocateContiguousMemorySpecifyCacheXxx routine.

Parameters

BaseAddress [in]

Specifies the base address of the buffer to be freed. Must match the address returned by the MmAllocateContiguousMemorySpecifyCacheXxx 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 MmAllocateContiguousMemorySpecifyCacheXxx 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 MmAllocateContiguousMemorySpecifyCacheXxx routine.

Remarks

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 MmAllocateContiguousMemorySpecifyCacheXxx routine. MmFreeContiguousMemory is faster than MmFreeContiguousMemorySpecifyCache and requires fewer parameters.

See also

MmAllocateContiguousMemorySpecifyCache

MmAllocateContiguousMemorySpecifyCacheNode

MmFreeContiguousMemory