The LMX_Init function initializes the protection system.
[out] Pointer to LM-X handle.
On success, this function returns the status code LMX_SUCCESS.
On failure, this function returns an error code in the format described in Return codes.
This function should be the first one called.
It is important to note that you should call LMX_Init only once, because you should need to create only one LMX_HANDLE. You should continue to use the single handle throughout the lifetime of your application.
You can use the following code to declare and initialize LMX-handle. Note that any allocated memory must be freed before the program exits.