windows-nt/Source/XPSP1/NT/ds/netapi/svcdlls/upssvc/apcsmart/w32utils.h
2020-09-26 16:20:57 +08:00

27 lines
538 B
C

/*
*
* 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