Install an already loaded driver and return an error code.
unsigned char __fastcall__ tgi_install (void* driver);
The function installs a driver that was already loaded into memory (or linked statically to the program). It returns an error code (
TGI_ERR_OKin case of success).
- The function is only available as fastcall function, so it may only be used in presence of a prototype.
- See also
tgi_load_driver, tgi_uninstall, tgi_unload
tgi_install(tgi_static_stddrv); //Include the driver statically instead of loading it. tgi_init(); //Set up the default palette and clear the screen.