VirtualBox

source: vbox/trunk/src/VBox/Runtime/r3/win/internal-r3-win.h@ 53009

Last change on this file since 53009 was 53009, checked in by vboxsync, 10 years ago

IPRT: Windows 10 OS type.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1
2#ifndef ___internal_r3_win_h
3#define ___internal_r3_win_h
4
5#include "internal/iprt.h"
6#include <iprt/types.h>
7
8
9/*******************************************************************************
10* Structures and Typedefs *
11*******************************************************************************/
12/**
13 * Windows OS type as determined by rtSystemWinOSType().
14 *
15 * @note ASSUMPTIONS are made regarding ordering. Win 9x should come first, then
16 * NT. The Win9x and NT versions should internally be ordered in ascending
17 * version/code-base order.
18 */
19typedef enum RTWINOSTYPE
20{
21 kRTWinOSType_UNKNOWN = 0,
22 kRTWinOSType_9XFIRST = 1,
23 kRTWinOSType_95 = kRTWinOSType_9XFIRST,
24 kRTWinOSType_95SP1,
25 kRTWinOSType_95OSR2,
26 kRTWinOSType_98,
27 kRTWinOSType_98SP1,
28 kRTWinOSType_98SE,
29 kRTWinOSType_ME,
30 kRTWinOSType_9XLAST = 99,
31 kRTWinOSType_NTFIRST = 100,
32 kRTWinOSType_NT31 = kRTWinOSType_NTFIRST,
33 kRTWinOSType_NT351,
34 kRTWinOSType_NT4,
35 kRTWinOSType_2K,
36 kRTWinOSType_XP,
37 kRTWinOSType_2003,
38 kRTWinOSType_VISTA,
39 kRTWinOSType_2008,
40 kRTWinOSType_7,
41 kRTWinOSType_8,
42 kRTWinOSType_81,
43 kRTWinOSType_10,
44 kRTWinOSType_NT_UNKNOWN = 199,
45 kRTWinOSType_NT_LAST = kRTWinOSType_UNKNOWN
46} RTWINOSTYPE;
47
48/**
49 * Windows loader protection level.
50 */
51typedef enum RTR3WINLDRPROT
52{
53 RTR3WINLDRPROT_INVALID = 0,
54 RTR3WINLDRPROT_NONE,
55 RTR3WINLDRPROT_NO_CWD,
56 RTR3WINLDRPROT_SAFE
57} RTR3WINLDRPROT;
58
59
60/*******************************************************************************
61* Global Variables *
62*******************************************************************************/
63extern DECLHIDDEN(RTR3WINLDRPROT) g_enmWinLdrProt;
64extern DECLHIDDEN(RTWINOSTYPE) g_enmWinVer;
65#ifdef _WINDEF_
66extern DECLHIDDEN(HMODULE) g_hModKernel32;
67extern DECLHIDDEN(HMODULE) g_hModNtDll;
68extern DECLHIDDEN(OSVERSIONINFOEXW) g_WinOsInfoEx;
69#endif
70
71
72#endif
73
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