Cygwin: cygcheck: add latest product codes

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2023-02-07 22:19:33 +01:00
parent 23e49b18ce
commit 013ccc0686
1 changed files with 65 additions and 7 deletions

View File

@ -1580,25 +1580,83 @@ dump_sysinfo ()
/* 0x00000074 */ "",
/* 0x00000075 */ "",
/* 0x00000076 */ "",
/* 0x00000077 */ "",
/* 0x00000077 */ " Team",
/* 0x00000078 */ "",
/* 0x00000079 */ " Education",
/* 0x0000007a */ " Education N",
/* 0x0000007b */ "",
/* 0x0000007c */ "",
/* 0x0000007d */ "",
/* 0x0000007e */ "",
/* 0x0000007d */ " Enterprise 2015 LTSB",
/* 0x0000007e */ " Enterprise 2015 LTSB N",
/* 0x0000007f */ "",
/* 0x00000080 */ "",
/* 0x00000081 */ "",
/* 0x00000082 */ "",
/* 0x00000083 */ "",
/* 0x00000081 */ " Enterprise 2015 LTSB Evaluation",
/* 0x00000082 */ " Enterprise 2015 LTSB N Evaluation",
/* 0x00000083 */ " IoT Core Commercial",
/* 0x00000084 */ "",
/* 0x00000085 */ " Mobile Enterprise",
/* 0x00000086 */ "",
/* 0x00000087 */ "",
/* 0x00000088 */ "",
/* 0x00000089 */ "",
/* 0x0000008a */ "",
/* 0x0000008b */ "",
/* 0x0000008c */ "",
/* 0x0000008d */ "",
/* 0x0000008e */ "",
/* 0x0000008f */ "",
/* 0x00000090 */ "",
/* 0x00000091 */ " Server Datacenter, Semi-Annual Channel (core installation)",
/* 0x00000092 */ " Server Standard, Semi-Annual Channel (core installation)",
/* 0x00000093 */ "",
/* 0x00000094 */ "",
/* 0x00000095 */ "",
/* 0x00000096 */ "",
/* 0x00000097 */ "",
/* 0x00000098 */ "",
/* 0x00000099 */ "",
/* 0x0000009a */ "",
/* 0x0000009b */ "",
/* 0x0000009c */ "",
/* 0x0000009d */ "",
/* 0x0000009e */ "",
/* 0x0000009f */ "",
/* 0x000000a0 */ "",
/* 0x000000a1 */ " Pro for Workstations",
/* 0x000000a2 */ " Pro for Workstations N",
/* 0x000000a3 */ "",
/* 0x000000a4 */ " Pro Education",
/* 0x000000a5 */ "",
/* 0x000000a6 */ "",
/* 0x000000a7 */ "",
/* 0x000000a8 */ "",
/* 0x000000a9 */ "",
/* 0x000000aa */ "",
/* 0x000000ab */ "",
/* 0x000000ac */ "",
/* 0x000000ad */ "",
/* 0x000000ae */ "",
/* 0x000000af */ " Enterprise for Virtual Desktops",
/* 0x000000b0 */ "",
/* 0x000000b1 */ "",
/* 0x000000b2 */ "",
/* 0x000000b3 */ "",
/* 0x000000b4 */ "",
/* 0x000000b5 */ "",
/* 0x000000b6 */ "",
/* 0x000000b7 */ "",
/* 0x000000b8 */ "",
/* 0x000000b9 */ "",
/* 0x000000ba */ "",
/* 0x000000bb */ "",
/* 0x000000bc */ " IoT Enterprise",
/* 0x000000bd */ "",
/* 0x000000be */ "",
/* 0x000000bf */ " IoT Enterprise LTSC",
};
if (prod == PRODUCT_UNLICENSED)
strcat (osname, "Unlicensed");
else if (prod > 0x00000085)
else if (prod > 0x000000bf)
strcat (osname, "");
else
strcat (osname, products[prod]);