Mercurial > mm7
view OSInfo.h @ 1205:8c02e6f74b29
arrays to std::arrays phase 2 - mm7_data.h converted
author | Grumpy7 |
---|---|
date | Sun, 09 Jun 2013 00:30:48 +0200 |
parents | 9c0607679772 |
children | 934074e7fcc1 |
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