RtFreeContiguousMemory

RtFreeContiguousMemory frees a previously allocated physically contiguous memory region.

Syntax

Copy
BOOL RtFreeContiguousMemory(
    [in]    PVOID pVirtualAddress
);

Parameters

[in] 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

wRTOS 1.0 SDK

RtApi.h

RtApi.lib (Windows), Startup.lib (RTSS)

See Also: