VirtualBox

source: vbox/trunk/include/VBox/ostypes.h@ 7233

Last change on this file since 7233 was 7233, checked in by vboxsync, 17 years ago

Renamed OSType to VBOXOSTYPE to fix the clash with some mac os x typedef.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.5 KB
Line 
1/** @file
2 * VirtualBox - Global Guest Operating System definition.
3 */
4
5/*
6 * Copyright (C) 2006-2007 innotek GmbH
7 *
8 * This file is part of VirtualBox Open Source Edition (OSE), as
9 * available from http://www.virtualbox.org. This file is free software;
10 * you can redistribute it and/or modify it under the terms of the GNU
11 * General Public License (GPL) as published by the Free Software
12 * Foundation, in version 2 as it comes in the "COPYING" file of the
13 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15 *
16 * The contents of this file may alternatively be used under the terms
17 * of the Common Development and Distribution License Version 1.0
18 * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
19 * VirtualBox OSE distribution, in which case the provisions of the
20 * CDDL are applicable instead of those of the GPL.
21 *
22 * You may elect to license modified versions of this file under the
23 * terms and conditions of either the GPL or the CDDL or both.
24 */
25
26#ifndef ___VBox_ostypes_h
27#define ___VBox_ostypes_h
28
29#include <iprt/cdefs.h>
30
31__BEGIN_DECLS
32
33/**
34 * Global list of guest operating system types.
35 *
36 * They are grouped into families. A family identifer is always has
37 * mod 0x10000 == 0. New entries can be added, however other components
38 * depend on the values (e.g. the Qt GUI and guest additions) so the
39 * existing values MUST stay the same.
40 */
41typedef enum VBOXOSTYPE
42{
43 VBOXOSTYPE_Unknown = 0,
44 VBOXOSTYPE_DOS = 0x10000,
45 VBOXOSTYPE_Win31 = 0x15000,
46 VBOXOSTYPE_Win9x = 0x20000,
47 VBOXOSTYPE_Win95 = 0x21000,
48 VBOXOSTYPE_Win98 = 0x22000,
49 VBOXOSTYPE_WinMe = 0x23000,
50 VBOXOSTYPE_WinNT = 0x30000,
51 VBOXOSTYPE_WinNT4 = 0x31000,
52 VBOXOSTYPE_Win2k = 0x32000,
53 VBOXOSTYPE_WinXP = 0x33000,
54 VBOXOSTYPE_Win2k3 = 0x34000,
55 VBOXOSTYPE_WinVista = 0x35000,
56 VBOXOSTYPE_OS2 = 0x40000,
57 VBOXOSTYPE_OS2Warp3 = 0x41000,
58 VBOXOSTYPE_OS2Warp4 = 0x42000,
59 VBOXOSTYPE_OS2Warp45 = 0x43000,
60 VBOXOSTYPE_Linux = 0x50000,
61 VBOXOSTYPE_Linux22 = 0x51000,
62 VBOXOSTYPE_Linux24 = 0x52000,
63 VBOXOSTYPE_Linux26 = 0x53000,
64 VBOXOSTYPE_FreeBSD = 0x60000,
65 VBOXOSTYPE_OpenBSD = 0x61000,
66 VBOXOSTYPE_NetBSD = 0x62000,
67 VBOXOSTYPE_Netware = 0x70000,
68 VBOXOSTYPE_Solaris = 0x80000,
69 VBOXOSTYPE_L4 = 0x90000,
70 /** The usual 32-bit hack. */
71 VBOXOSTYPE_32BIT_HACK = 0x7fffffff
72} VBOXOSTYPE;
73
74__END_DECLS
75
76#endif
77
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette