annotate OSInfo.h @ 1043:b725a9cdec0c

m
author Ritor1
date Tue, 21 May 2013 15:17:09 +0600
parents 9c0607679772
children 934074e7fcc1
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
Ritor1
parents:
diff changeset
24 //void (__thiscall ***vdestructor_ptr)(OSVersion *, bool);
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