ResizableVersion.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // ResizableVersion.h: interface for the CResizableVersion class.
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. //
  5. // This file is part of ResizableLib
  6. // https://github.com/ppescher/resizablelib
  7. //
  8. // Copyright (C) 2000-2015 by Paolo Messina
  9. // mailto:ppescher@hotmail.com
  10. //
  11. // The contents of this file are subject to the Artistic License 2.0
  12. // http://opensource.org/licenses/Artistic-2.0
  13. //
  14. // If you find this code useful, credits would be nice!
  15. //
  16. /////////////////////////////////////////////////////////////////////////////
  17. #if !defined(AFX_RESIZABLEVERSION_H__INCLUDED_)
  18. #define AFX_RESIZABLEVERSION_H__INCLUDED_
  19. #if _MSC_VER > 1000
  20. #pragma once
  21. #endif // _MSC_VER > 1000
  22. // global variables that hold actual version numbers
  23. // retrieved and adapted at run-time to be equivalent
  24. // to preprocessor macros that set the target platform
  25. extern DWORD realWINVER;
  26. #ifdef _WIN32_WINDOWS
  27. extern DWORD real_WIN32_WINDOWS;
  28. #endif
  29. #ifdef _WIN32_WINNT
  30. extern DWORD real_WIN32_WINNT;
  31. #endif
  32. #ifdef _WIN32_IE
  33. extern DWORD real_WIN32_IE;
  34. #endif
  35. extern DWORD real_ThemeSettings;
  36. // called automatically by a static initializer
  37. // (if not appropriate can be called later)
  38. // to setup global version numbers
  39. void InitRealVersions();
  40. // check for visual style settings
  41. void InitThemeSettings();
  42. #endif // !defined(AFX_RESIZABLEVERSION_H__INCLUDED_)