annotate OSInfo.h @ 1865:e622546c8f0c

Actor::AI_FaceObject cleanup
author Grumpy7
date Mon, 14 Oct 2013 08:22:12 +0200
parents 934074e7fcc1
children d44b7775fc06
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2 #include "OSAPI.h"
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4 /* 293 */
Ritor1
parents:
diff changeset
5 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
6 struct OSVersion
Ritor1
parents:
diff changeset
7 {
Ritor1
parents:
diff changeset
8 //----- (004AD48F) --------------------------------------------------------
Ritor1
parents:
diff changeset
9 OSVersion()
Ritor1
parents:
diff changeset
10 {
Ritor1
parents:
diff changeset
11 bInitialized = false;
Ritor1
parents:
diff changeset
12 pVersionInfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFOA);
Ritor1
parents:
diff changeset
13 if (GetVersionExA(&pVersionInfo))
Ritor1
parents:
diff changeset
14 bInitialized = true;
Ritor1
parents:
diff changeset
15 }
Ritor1
parents:
diff changeset
16
Ritor1
parents:
diff changeset
17 //----- (004AD4BA) --------------------------------------------------------
Ritor1
parents:
diff changeset
18 virtual ~OSVersion()
Ritor1
parents:
diff changeset
19 {
Ritor1
parents:
diff changeset
20 bInitialized = false;
Ritor1
parents:
diff changeset
21 }
Ritor1
parents:
diff changeset
22
Ritor1
parents:
diff changeset
23
1458
934074e7fcc1 ModalWindow
Nomad
parents: 0
diff changeset
24 //void ( ***vdestructor_ptr)(OSVersion *, bool);
0
Ritor1
parents:
diff changeset
25 OSVERSIONINFOA pVersionInfo;
Ritor1
parents:
diff changeset
26 int bInitialized;
Ritor1
parents:
diff changeset
27 };
Ritor1
parents:
diff changeset
28 #pragma pack(pop)
Ritor1
parents:
diff changeset
29
Ritor1
parents:
diff changeset
30
Ritor1
parents:
diff changeset
31 extern struct OSVersion *pVersion; // idb