Result = InitSprite()Description
Initializes the sprite environment for later use. You must put this function at the top of your source code if you want to use the sprite functions.
Nonzero if the initialization of the sprite environment has successed, zero otherwise. You should always test this result to see if the sprite environment has been correctly initialized. If not you must quit the program or disable all the calls to the sprite related functions.
This function tries to initialize DirectX 9, so if it fails, it's probably because DirectX is not found or is a previous version.