grammar updates
[mono.git] / mono / io-layer / system.h
1 /*
2  * system.h:  System information
3  *
4  * Author:
5  *      Dick Porter (dick@ximian.com)
6  *
7  * (C) 2002 Ximian, Inc.
8  */
9
10 #ifndef _WAPI_SYSTEM_H_
11 #define _WAPI_SYSTEM_H_
12
13 #include <glib.h>
14
15 typedef struct _WapiSystemInfo WapiSystemInfo;
16
17 struct _WapiSystemInfo 
18 {
19         union _anon_union
20         {
21                 guint32 dwOemId;
22                 struct _anon_struct
23                 {
24                         guint16 wProcessorArchitecture;
25                         guint16 wReserved;
26                 } _anon_struct;
27         } _anon_union;
28         
29         guint32 dwPageSize;
30         gpointer lpMinimumApplicationAddress;
31         gpointer lpMaximumApplicationAddress;
32         guint32 /*_PTR?*/ dwActiveProcessorMask;
33         guint32 dwNumberOfProcessors;
34         guint32 dwProcessorType;
35         guint32 dwAllocationGranularity;
36         guint16 wProcessorLevel;
37         guint16 wProcessorRevision;
38 };
39
40 extern void GetSystemInfo(WapiSystemInfo *info);
41
42 #endif /* _WAPI_SYSTEM_H_ */