util_win32.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /* util.Win32.h - Header
  2. Utilities - Win32 utilities (Windows NT and Windows '95)
  3. Copyright (C) 1994, 1995, 1996 the Free Software Foundation.
  4. Written 1996 by Juan Grigera<grigera@isis.unlp.edu.ar>
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  16. */
  17. /* Prototypes */
  18. int win32_GetPlatform ();
  19. int win32_GetEXEType (const char* a_szFileName);
  20. int win32_GetVersionEx ();
  21. /* Constants */
  22. enum {
  23. OS_WinNT = VER_PLATFORM_WIN32_NT, /* windows.h values */
  24. OS_Win95 = VER_PLATFORM_WIN32_WINDOWS,
  25. };
  26. enum {
  27. EXE_Unknown,
  28. EXE_win16,
  29. EXE_win32CUI,
  30. EXE_win32GUI,
  31. EXE_otherCUI,
  32. EXE_Error
  33. };