UnMapPhysicalMemory

int UnMapPhysicalMemory (int mapHandle);

Purpose

Unmaps an address that you mapped using MapPhysicalMemory.

Do not pass the address to this function. Instead, pass the handle that MapPhysicalMemory returned.

Note    UnMapPhysicalMemory requires the LabWindows/CVI low-level support driver. LabWindows/CVI loads the driver at startup if it is on disk. You can check whether LabWindows/CVI loaded the driver at startup by calling CVILowLevelSupportDriverLoaded.

Parameters

Input
Name Type Description
mapHandle integer Handle that MapPhysicalMemory returns.

Return Value

Name Type Description
status integer Indicates whether the function succeeded.

Code Description
1 Success.
0 mapHandle is not valid, the operating system reported an error, or the low-level support driver is not loaded.