Initializes the interface and allocates internal memory.
- Parameters:
-
| [out] | handle | SDL handle required by all other SDL functions. |
- Return values:
-
SDL_Initialize allocates internal memory and prepares the SDL interface. After using the SDL interface, it is necessary to explicitly call
SDL_Cleanup() to avoid memory leaks.
- Warning:
- The SDL handle returned by SDL_Initialize is compatible with only the functions beginning with SDL_. The SDL API was written only to locate SeaDAC Lite modules. In order to read or write to a particular SeaDAC Lite module, the standard SeaMAX SM_ functions should be used, after opening the SeaDAC Lite module with SM_Open() and acquiring a SM handle.