mirror of https://github.com/tongzx/nt5src
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
26 lines
538 B
/*
|
|
*
|
|
* NOTES:
|
|
*
|
|
* REVISIONS:
|
|
* pam15Jul96: Initial creation
|
|
* srt19Dec96: Added GetNtComputerName
|
|
* tjg05Sep97: Added GetVersionInformation function
|
|
* tjg16Dec97: Added GetRegistryValue function
|
|
*/
|
|
|
|
#ifndef __W32UTILS_H
|
|
#define __W32UTILS_H
|
|
|
|
#include "_defs.h"
|
|
|
|
#define SET_BIT(byte, bitnum) (byte |= ( 1L << bitnum ))
|
|
#define CLEAR_BIT(byte, bitnum) (byte &= ~( 1L << bitnum ))
|
|
|
|
|
|
INT UtilSelectProcessor(void *hCurrentThread);
|
|
|
|
enum tWindowsVersion{eUnknown, eWin31, eWinNT, eWin95};
|
|
tWindowsVersion GetWindowsVersion();
|
|
#endif
|
|
|