Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
538 B

  1. /*
  2. *
  3. * NOTES:
  4. *
  5. * REVISIONS:
  6. * pam15Jul96: Initial creation
  7. * srt19Dec96: Added GetNtComputerName
  8. * tjg05Sep97: Added GetVersionInformation function
  9. * tjg16Dec97: Added GetRegistryValue function
  10. */
  11. #ifndef __W32UTILS_H
  12. #define __W32UTILS_H
  13. #include "_defs.h"
  14. #define SET_BIT(byte, bitnum) (byte |= ( 1L << bitnum ))
  15. #define CLEAR_BIT(byte, bitnum) (byte &= ~( 1L << bitnum ))
  16. INT UtilSelectProcessor(void *hCurrentThread);
  17. enum tWindowsVersion{eUnknown, eWin31, eWinNT, eWin95};
  18. tWindowsVersion GetWindowsVersion();
  19. #endif