comparison OSInfo.h @ 0:9c0607679772

init
author Ritor1
date Sat, 12 Jan 2013 09:45:18 +0600
parents
children 934074e7fcc1
comparison
equal deleted inserted replaced
-1:000000000000 0:9c0607679772
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
24 //void (__thiscall ***vdestructor_ptr)(OSVersion *, bool);
25 OSVERSIONINFOA pVersionInfo;
26 int bInitialized;
27 };
28 #pragma pack(pop)
29
30
31 extern struct OSVersion *pVersion; // idb