RtUnmapMemory

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

Syntax

BOOL RtUnmapMemory(
    PVOID pVirtualAddress
);

Parameters

pVirtualAddress

A pointer returned by a previous call to RtMapMemory.

Return Value

TRUE if the function succeeds, FALSE if the function fails

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 RTX64 2013
Header Rtapi.h
Library RtApi.lib (Windows), Rtx_Rtss.lib (RTSS)

See Also:

RtMapMemory