RtFreeContiguousMemory

RtFreeContiguousMemory frees a previously allocated physically contiguous memory region.

Syntax

Copy
BOOL RtFreeContiguousMemory(
    PVOID pVirtualAddress
);

Parameters

pVirtualAddress

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

Return Value

If the function succeeds, it returns TRUE. If the function fails, it returns FALSE.

Remarks

RtFreeContiguousMemory releases a previous allocation of physically contiguous memory.

Requirements

Minimum supported version Header Library

eRTOS 1.0 SDK

Rtapi.h rtkrnl.lib

See Also: