RtUnmapMemory

RtUnmapMemory releases a mapping made by a previous call to RtMapMemory.

Syntax

Copy
BOOL RtUnmapMemory(
    PVOID pVirtualAddress
);

Parameters

pVirtualAddress

A pointer returned by a previous call to RtMapMemory.

Return Value

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

Remarks

The virtual address passed in must be the same base address returned to the user by a previous call to RtMapMemory.

Requirements

Minimum supported version Header Library

eRTOS 1.0 SDK

Rtapi.h rtkrnl.lib

See Also: