Al_releaseenvironment – Measurement Computing ADLIB WIN User Manual
Page 36

Chapter 9 Environment Configurations
9-2
9.2 AL_ReleaseEnvironment
Prototype
C\C++
ERRNUM
AL_ReleaseEnvironment(void);
Visual Basic for Windows
Function AL_ReleaseEnvironment() As Long
void
no parameters
The AL_ReleaseEnvironment function releases all previously allocated logical device subsystem
databases(LDSD), board and environment structures, and associated memory.
Parameter Description
void
Function takes no parameters.
Returns:
On success ERRNUM is set to 1, otherwise ERRNUM contains the last error code that occurred during the
call.
Comments:
Once called, all internal memory and structure pointers previously returned from ADLIB are considered
invalid. Further access to these pointers will address released system memory that may cause the system to
crash.
Related Functions:
AL_LoadEnvironment
Program References:
All Examples
Supported Boards:
All