revert between 56095 -> 55830 in arch
[AROS.git] / compiler / include / graphics / driver.h
blobc690808d82d4bf02ac95994c1a230f71c291805e
1 #ifndef GRAPHICS_DRIVER_H
2 #define GRAPHICS_DRIVER_H
4 /*
5 Copyright © 2010-2011, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Display driver definitions.
9 Lang: english
11 Information contained in this file is AROS-specific.
14 /* Tags for AddDisplayDriverA() */
16 #define DDRV_BootMode (TAG_USER + 0x01) /* BOOL Boot mode driver which will be unloaded when any next driver comes in, default = FALSE */
17 #define DDRV_MonitorID (TAG_USER + 0x02) /* ULONG Monitor ID for this driver, default = next available */
18 #define DDRV_ReserveIDs (TAG_USER + 0x03) /* ULONG How many monitor IDs to reserve, default = 1 */
19 #define DDRV_KeepBootMode (TAG_USER + 0x04) /* BOOL Do not shut down boot mode drivers, default = FALSE */
20 #define DDRV_ResultID (TAG_USER + 0x05) /* ULONG * Obtain assigned monitor ID */
21 #define DDRV_IDMask (TAG_USER + 0x06) /* ULONG Use own mask for monitor ID separation */
23 /* Return codes */
25 #define DD_OK 0 /* No error */
26 #define DD_NO_MEM 1 /* Out of memory */
27 #define DD_ID_EXISTS 2 /* Specified MonitorID is already allocated */
28 #define DD_IN_USE 3 /* One of boot mode drivers can't be shut down */
29 #define DD_DRIVER_ERROR 4 /* Failed to create driver object */
31 /* This structure is subject to change! Private! */
32 struct MonitorHandle
34 struct MonitorHandle *next;
35 ULONG id;
36 ULONG mask;
37 APTR gfxhidd;
40 #endif