windows-nt/Source/XPSP1/NT/ds/netapi/svcdlls/upssvc/apcsmart/w32utils.h

27 lines
538 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*
*
* 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