MmFreeContiguousMemorySpecifyCache 함수(ntddk.h)

MmFreeContiguousMemorySpecifyCache 루틴은 MmAllocateContiguousMemorySpecifyCacheXxx 루틴에 의해 할당된 버퍼를 해제합니다.

구문

void MmFreeContiguousMemorySpecifyCache(
  [in] PVOID               BaseAddress,
  [in] SIZE_T              NumberOfBytes,
  [in] MEMORY_CACHING_TYPE CacheType
);

매개 변수

[in] BaseAddress

해제할 버퍼의 기본 주소를 지정합니다. 버퍼를 할당한 MmAllocateContiguousMemorySpecifyCacheXxx 호출에서 반환된 주소와 일치해야 합니다.

[in] NumberOfBytes

해제할 버퍼의 크기(바이트)를 지정합니다. 버퍼가 MmAllocateContiguousMemorySpecifyCacheXxx 루틴에 의해 할당되었을 때 요청된 크기와 일치해야 합니다.

[in] CacheType

해제할 버퍼의 캐시 유형을 지정합니다. 버퍼가 MmAllocateContiguousMemorySpecifyCacheXxx 루틴에 의해 할당되었을 때 요청된 캐시 형식과 일치해야 합니다.

반환 값

없음

설명

MmFreeContiguousMemorySpecifyCache 루틴은 MmAllocateContiguousMemorySpecifyCache 또는 MmAllocateContiguousMemorySpecifyCacheNode 루틴에 대한 이전 호출에 의해 할당된 물리적으로 연속된 메모리 블록을 해제합니다. 그러나 MmFreeContiguousMemoryMmAllocateContiguousMemorySpecifyCacheXxx 루틴에 의해 할당된 메모리를 해제하는 데 사용하는 기본 루틴입니다. MmFreeContiguousMemoryMmFreeContiguousMemorySpecifyCache 보다 빠르며 매개 변수가 더 적습니다.

요구 사항

요구 사항
지원되는 최소 클라이언트 Windows 2000부터 사용할 수 있습니다.
대상 플랫폼 유니버설
헤더 ntddk.h(Wdm.h, Ntddk.h 포함)
라이브러리 NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= DISPATCH_LEVEL

추가 정보

MmAllocateContiguousMemorySpecifyCache

MmAllocateContiguousMemorySpecifyCacheNode

MmFreeContiguousMemory