Closes the SeaMAX handle and releases all allocated memory.
- Parameters:
-
| [in] | handle | Valid handle returned by SM_Open(). |
- Return values:
-
| 0 | Successful closure and cleanup. |
| -1 | Invalid SeaMAX handle. |
- Warning:
- SM_Close() must be called in order to free all associated system memory associated with the SeaMAX library.