﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
984	Addition to @OSVersion	mark.carrell@…	Valik	"Requesting a change made to the macro @OSType to support the distinction of Windows XP versus Windows XP Embedded.  I have the following C code that makes the distinction as an example:
{{{
// OS-or-CPU
	// Standard values are
	// Win95, Win98, Windows NT 5.0 (Win2K), Windows CE
	OSVERSIONINFOEX osviex;
    memset(&osviex, 0, sizeof(OSVERSIONINFOEX));
    osviex.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);

    GetVersionEx((OSVERSIONINFO *) &osviex);

	switch (osviex.dwPlatformId) {
	case VER_PLATFORM_WIN32_WINDOWS:
		// Windows 95 or 98.   If minor version is 0 then Win95, else Win98.
		if (osviex.dwMinorVersion == 0)
			OS=""Windows 95"";
		else
			OS=""Windows 98"";
		break;
	case VER_PLATFORM_WIN32_NT:
		// Windows NT (NT, 2K, XP)
		OS=""Windows NT"";
		if (osviex.wSuiteMask & VER_SUITE_EMBEDDEDNT)
			embedded=TRUE;
		break;
#ifdef UNDER_CE
	case VER_PLATFORM_WIN32_CE:
		OS=""Windows CE"";
		break;
#endif
	default:
		// If we don't know the platform, indicate ""generic"" Windows.
		OS=""Windows"";
	}

	strcpy (fullOS, OS);
	

	if (embedded) 
		strcat(fullOS, "" Embedded"");
}}}"	Feature Request	closed	3.3.1.1	AutoIt		None	Completed	OSVersion OS Operating System Embedded	
