Mercurial > might-and-magic-trilogy
view OSInfo.h @ 110:430786d916d6
6.11.12 SaveLoad
author | Ritor1 |
---|---|
date | Tue, 06 Nov 2012 17:30:24 +0600 |
parents | 8b8875f5b359 |
children |
line wrap: on
line source
#pragma once #include "OSAPI.h" /* 293 */ #pragma pack(push, 1) struct OSVersion { //----- (004AD48F) -------------------------------------------------------- OSVersion() { bInitialized = false; pVersionInfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFOA); if (GetVersionExA(&pVersionInfo)) bInitialized = true; } //----- (004AD4BA) -------------------------------------------------------- virtual ~OSVersion() { bInitialized = false; } //void (__thiscall ***vdestructor_ptr)(OSVersion *, bool); OSVERSIONINFOA pVersionInfo; int bInitialized; }; #pragma pack(pop) extern struct OSVersion *pVersion; // idb