Close_HM_ExtAPI()
Closes HyperMesh session.
Syntax
void Close_HM_ExtAPI(
HM_ExtAPI* api_ptr,
bool unload_dll
);
Type
HyperMesh Ext API
Description
Unloading HyperMesh DLL frees the memory of the process. However if the application using HyperMesh DLL intends to open HyperMesh session multiple times it is recommended to keep DLL in memory. Loading HyperMesh DLL may take noticeable amout of time depending on installed configuration.
Requires including hm_extapi.h, hm_extapi.dll and hm_extapi.lib.
Inputs
- api_ptr
- [in] - Pointer to API object that was returned by the function OPEN_HM_ExtAPI.
- unload_dll
- [in] - Specifies whether HyperMesh DLL needs to be unloaded from the process memory. See above for more details. Can have following values.
Errors
None.