0
|
1 #pragma once
|
|
2 #include "OSAPI.h"
|
|
3
|
|
4 /* 293 */
|
|
5 #pragma pack(push, 1)
|
|
6 struct OSVersion
|
|
7 {
|
|
8 //----- (004AD48F) --------------------------------------------------------
|
|
9 OSVersion()
|
|
10 {
|
|
11 bInitialized = false;
|
|
12 pVersionInfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFOA);
|
|
13 if (GetVersionExA(&pVersionInfo))
|
|
14 bInitialized = true;
|
|
15 }
|
|
16
|
|
17 //----- (004AD4BA) --------------------------------------------------------
|
|
18 virtual ~OSVersion()
|
|
19 {
|
|
20 bInitialized = false;
|
|
21 }
|
|
22
|
|
23
|
1458
|
24 //void ( ***vdestructor_ptr)(OSVersion *, bool);
|
0
|
25 OSVERSIONINFOA pVersionInfo;
|
|
26 int bInitialized;
|
|
27 };
|
|
28 #pragma pack(pop)
|
|
29
|
|
30
|
|
31 extern struct OSVersion *pVersion; // idb |