Export (0) Print
Expand All
Expand Minimize

MmFreeNonCachedMemory routine

The MmFreeNonCachedMemory routine releases a range of noncached memory that was allocated by the MmAllocateNonCachedMemory routine.

Syntax


VOID MmFreeNonCachedMemory(
  _In_  PVOID BaseAddress,
  _In_  SIZE_T NumberOfBytes
);

Parameters

BaseAddress [in]

Pointer to the virtual address of the memory to be freed.

NumberOfBytes [in]

Specifies the size of the range to be freed. This value must match the size passed in a preceding call to MmAllocateNonCachedMemory.

Return value

None

Remarks

The MmFreeNonCachedMemory routine performs the opposite action of MmAllocateNonCachedMemory.

Requirements

Version

Available starting with Windows 2000.

Header

Ntddk.h (include Ntddk.h)

Library

Ntoskrnl.lib

IRQL

<=APC_LEVEL

DDI compliance rules

IrqlMmApcLte, HwStorPortProhibitedDDIs

See also

MmAllocateNonCachedMemory

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft