RtUnmapMemory

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

Syntax

Copy
BOOL RtUnmapMemory(
    [in]    PVOID pVirtualAddress
);

Parameters

[in] 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

wRTOS 1.0 SDK

RtApi.h

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

See Also: