RtFreeLockedMemory

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

Syntax

BOOL RtFreeLockedMemory(
    PVOID pVirtualAddress
);

Parameters

pVirtualAddress

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

Return Value

TRUE if the function succeeds, FALSE if the function fails

Remarks

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

Requirements

Header RtssApi.h
Library Rtx_Rtss.lib

See Also:

RtAllocateLockedMemory