RtFreeLockedMemory

RtFreeLockedMemory frees memory previously committed and locked by a call to RtAllocateLockedMemory.

Syntax

Copy
BOOL RtFreeLockedMemory(
    PVOID pVirtualAddress
);

Parameters

pVirtualAddress

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

Return Value

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

Remarks

RtFreeLockedMemory frees memory previously allocated, committed, and locked by RtAllocateLockedMemory.

Requirements

Minimum supported version Header Library

eRTOS 1.0 SDK

RtssApi.h rtkrnl.lib

See Also: