RtFreeContiguousMemory

RtFreeContiguousMemory frees a previously allocated physically contiguous memory region.

Syntax

BOOL RtFreeContiguousMemory(
    PVOID pVirtualAddress
);

Parameters

pVirtualAddress

A virtual address as returned by a previous call to RtAllocateContiguousMemory or RtAllocateContiguousMemorySpecifyCache.

Return Value

TRUE if the function succeeds, FALSE if the function fails

Remarks

RtFreeContiguousMemory releases a previous allocation of physically contiguous memory.

Requirements

Minimum Supported Version RTX64 2013
Header Rtapi.h
Library RtApi.lib (Windows), Rtx_Rtss.lib (RTSS)

See Also:

RtAllocateContiguousMemory

RtAllocateContiguousMemorySpecifyCache

RtGetPhysicalAddress