mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 22:02:58 -06:00
26 lines
669 B
C
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
|