Load a Photon hook module
int PgPHookRegister( char const *phook );
This function loads a Photon hook module, such as those that rotate the display, “on the fly.” No surface or layer is lost during the installation of the module.
|You can also use the phook option in the configuration file for io-display; for more information, see the Utilities Reference.|
To remove a currently installed hook module, invoke PgPHookRegister() with the PHOOK_DFLT parameter.
io-display; in the Utilities Reference