LabWindows/CVI

Content Type
Programming Language
Current manual

UnMapPhysicalMemory

UnMapPhysicalMemory

int UnMapPhysicalMemory (int handle);

Purpose

Note Note  This function is obsolete and always returns an error code of 0, which indicates failure.

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.

The low-level support driver is not supported on 64-bit systems. Only applications running with administrator privileges on 32-bit systems can load the low-level support driver.

Parameters

Input
Name Type Description
handle int Handle that MapPhysicalMemory returns.

Return Value

Name Type Description
status int 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.

Additional Information

Library: Utility Library

Include file: utility.h

LabWindows/CVI compatibility: LabWindows/CVI 5.0 and later

Was this information helpful?