home *** CD-ROM | disk | FTP | other *** search
- #ifndef screenmodes_H
- #define screenmodes_H
-
- /* C header file for ScreenModes
- * written by DefMod (Sep 7 1994) on Wed Sep 7 21:19:28 1994
- * Copyright © Acorn Computers Ltd, 1994
- */
-
- /*************************************************************************
- * This source file was written by Acorn Computers Limited. It is part *
- * of the OSLib library for writing applications for RISC OS. It may be *
- * used freely in the creation of programs for RISC OS. *
- *************************************************************************/
-
- #ifndef types_H
- #include "types.h"
- #endif
-
- #ifndef os_H
- #include "os.h"
- #endif
-
- /**********************************
- * SWI names and SWI reason codes *
- **********************************/
- #undef ScreenModes_ReadInfo
- #define ScreenModes_ReadInfo 0x487C0
- #undef XScreenModes_ReadInfo
- #define XScreenModes_ReadInfo 0x687C0
- #undef ScreenModesReadInfo_MonitorTitle
- #define ScreenModesReadInfo_MonitorTitle 0x0
-
- /*************************
- * Function declarations *
- *************************/
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- /*************************************************************
- * NOTE: The following functions provide direct access to *
- * the SWI's noted in the function description. *
- * Please read the relevant PRM section for more *
- * information on their input/output parameters. *
- *************************************************************/
-
- /* ------------------------------------------------------------------------
- * Function: screenmodesreadinfo_monitor_title()
- *
- * Description: Reads the current monitor title
- *
- * Output: title - value of R0 on exit (X version only)
- *
- * Returns: R0 (non-X version only)
- *
- * Other notes: Calls SWI 0x487C0 with R0 = 0x0.
- */
-
- extern os_error *xscreenmodesreadinfo_monitor_title (char **title);
- extern char *screenmodesreadinfo_monitor_title (void);
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif
-