ultimatepp/bazaar/SysExec/SysInfo.h
micio 0bd0cb29be Bazaar/SysExec : added function to check whether we are running Xp or newer OS
git-svn-id: svn://ultimatepp.org/upp/trunk@3095 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-01-25 21:40:25 +00:00

26 lines
669 B
C

#ifndef _SysExec_SysInfo_h_
#define _SysExec_SysInfo_h_
#include <Core/Core.h>
NAMESPACE_UPP
#ifdef PLATFORM_WIN32
////////////////////////////////////////////////////////////////////////////////////
// utility function to if running Vista or newer OSs
bool IsVistaOrLater(void);
////////////////////////////////////////////////////////////////////////////////////
// utility function to see if running Xp or newer OSs
bool IsXpOrLater(void);
////////////////////////////////////////////////////////////////////////////////////
// check if user is running in admin mode
bool IsUserAdministrator(void);
#endif
END_UPP_NAMESPACE
#endif