InitModule()
Syntax
Result.l = InitModule()Description
Initialize the module environment. If the 'Result' returns 0, then no module can be played on this computer, or the sound device is busy. This function must be always called before any other module command and should always check its result. If the module environment fails, it's asolutely necessary to disable all the module commands calls.
Possible causes of failure under MS Windows: Midas11.dll not found or no sound card are present. If the program need to run on NT4.0, be sure to enable the 'NT4.0 Compliant executable' in the compiler options. IMPORTANT: The command InitSound() must be called before using the module library commands.
Supported OS
Windows, AmigaOS