RtFreeLocalMemory

RtFreeLocalMemory frees memory previously allocated by a call to RtAllocateLocalMemoryEx.

Syntax

Copy
BOOL RtFreeLocalMemory(
    [in]    PVOID pVirtualAddress
);

Parameters

[in] pVirtualAddress

A pointer to the start of the memory, as returned by RtAllocateLocalMemoryEx.

Return Value

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

Remarks

RtFreeLocalMemory frees memory previously allocated by RtAllocateLocalMemoryEx.

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

RtApi.h

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

See Also: