VirtualBox

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

Last change on this file since 2889 was 2585, checked in by vboxsync, 18 years ago

Please rename OSType, it conflicts with a core Mac OS X type.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1/** @file
2 * VirtualBox - Global Guest Operating System definition.
3 */
4
5/*
6 * Copyright (C) 2006 InnoTek Systemberatung 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 as published by the Free Software Foundation,
12 * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
13 * distribution. VirtualBox OSE is distributed in the hope that it will
14 * be useful, but WITHOUT ANY WARRANTY of any kind.
15 *
16 * If you received this file as part of a commercial VirtualBox
17 * distribution, then only the terms of your commercial VirtualBox
18 * license agreement apply instead of the previous paragraph.
19 */
20
21#ifndef __VBox_ostypes_h__
22#define __VBox_ostypes_h__
23
24#include <iprt/cdefs.h>
25
26__BEGIN_DECLS
27
28/**
29 * Global list of guest operating system types. They are grouped
30 * into families. A family identifer is always has mod 0x10000 == 0.
31 * New entries can be added, however other components might depend
32 * on the values (e.g. the Qt GUI) so if possible, the values should
33 * stay the same.
34 *
35 * @todo This typedef crashes with a core Mac OS X typedef, please rename it.
36 */
37typedef enum
38{
39 OSTypeUnknown = 0,
40 OSTypeDOS = 0x10000,
41 OSTypeWin31 = 0x15000,
42 OSTypeWin9x = 0x20000,
43 OSTypeWin95 = 0x21000,
44 OSTypeWin98 = 0x22000,
45 OSTypeWinMe = 0x23000,
46 OSTypeWinNT = 0x30000,
47 OSTypeWinNT4 = 0x31000,
48 OSTypeWin2k = 0x32000,
49 OSTypeWinXP = 0x33000,
50 OSTypeWin2k3 = 0x34000,
51 OSTypeWinVista = 0x35000,
52 OSTypeOS2 = 0x40000,
53 OSTypeOS2Warp3 = 0x41000,
54 OSTypeOS2Warp4 = 0x42000,
55 OSTypeOS2Warp45 = 0x43000,
56 OSTypeLinux = 0x50000,
57 OSTypeLinux22 = 0x51000,
58 OSTypeLinux24 = 0x52000,
59 OSTypeLinux26 = 0x53000,
60 OSTypeFreeBSD = 0x60000,
61 OSTypeOpenBSD = 0x61000,
62 OSTypeNetBSD = 0x62000,
63 OSTypeNetware = 0x70000,
64 OSTypeSolaris = 0x80000,
65 OSTypeL4 = 0x90000
66} OSType;
67
68__END_DECLS
69
70#endif /* !__VBox_ostypes_h__ */
71
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