RtFreeLocalMemory

RtFreeLocalMemory frees memory previously allocated by a call to RtAllocateLocalMemory or RtAllocateLocalMemoryEx.

Syntax

BOOL RtFreeLocalMemory(
    PVOID pVirtualAddress
);

Parameters

pVirtualAddress

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

Return Value

TRUE if the function succeeds, FALSE if the function fails

Remarks

RtFreeLocalMemory frees memory previously allocated by RtAllocateLocalMemory or RtAllocateLocalMemoryEx.

Requirements

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

See Also: