MCPcopy Create free account
hub / github.com/ajkhoury/ReClassEx / GetOperatingSystemType

Function GetOperatingSystemType

ReClass/Utils.cpp:273–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273OSType GetOperatingSystemType( )
274{
275 const OSType osTypes[] = { Windows10, Windows8, Windows7, WinVista, WinXP, Win2000 };
276 for (int i = 0; i < _countof( osTypes ); ++i)
277 {
278 if (IsWindowsVersionOrLater( osTypes[i] ))
279 return osTypes[i];
280 }
281 return UnknownOS;
282}
283
284LONG GetProcessorArchitecture( )
285{

Callers

nothing calls this directly

Calls 1

IsWindowsVersionOrLaterFunction · 0.85

Tested by

no test coverage detected