view OSInfo.h @ 1480:61451d5980bf

LevelDecoration maintenance changes Move LevelDecoration to Level/Decoration.* files. Cleanup of LevelDecoration::_47A825.
author yoctozepto
date Wed, 28 Aug 2013 22:10:13 +0200
parents 934074e7fcc1
children d44b7775fc06
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 ( ***vdestructor_ptr)(OSVersion *, bool);
  OSVERSIONINFOA pVersionInfo;
  int bInitialized;
};
#pragma pack(pop)


extern struct OSVersion *pVersion; // idb