Skip to content

Commit 37d226c

Browse files
committed
Update SysInfo docs re changes in v5.31.0
Noted new additions to TPJOSProduct enumeration.
1 parent c27cfde commit 37d226c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

SysInfo/5/API/TPJOSInfo-Product.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ type TPJOSProduct = (
2222
osWin10, osWin10Svr, // defined in v5.1 and later
2323
osWinSvr2019, // defined in v5.4 and later
2424
osWin11, osWinSvr2022, // defined in v5.6 and later
25-
osWinServer // defined in v5.9 and later
25+
osWinServer, // defined in v5.9 and later
26+
osWinSvr2025, osWinSvrLater // defined in v5.31 and later
2627
);
2728
```
2829

@@ -54,7 +55,9 @@ Returns a value from the _TPJOSProduct_ enumeration that identifies the operatin
5455
| `osWinSvr2019` [~>5.4] | Windows 2019 Server. † |
5556
| `osWinSvr2022` [~>5.6] | Windows 2022 Server. † |
5657
| `osWinServer` [~>5.9] | Windows 2022 Server. † |
58+
| `osWinSvr2025` [~>5.31] | Windows 2025 Server. † |
5759
| `osWinLater` | An unknown version of Windows released after the most recent version of Windows identified above. |
60+
| `osWinSvrLater`[~>5.31] | An unknown version of Windows released after the most recent version of Windows identified above. |
5861
| `osUnknownWinNT` | An unknown product on the Windows NT platform. |
5962
| `osUnknownWin9x` | An unknown product on the Windows 9x platform. |
6063
| `osUnknownWin32s` | An operating system running on the Win32s platform. |
@@ -66,4 +69,4 @@ On operating systems where _[CanSpoof](./TPJOSInfo-CanSpoof.md)_ returns `False`
6669

6770
To find the string representation of the product name use the _[ProductName](./TPJOSInfo-ProductName.md)_ method.
6871

69-
> † ⚠️ From Windows 8.1 / Win dows Server 2012 R 2 onwards, the correct operating system will only be returned if the host application contains a manifest that includes a compatibility section that contains the GUID that designates the appropriate version of Windows. If there is no such manifest, or the designated Windows version is lower than that of the operating system then _Product_ will return the code for an earlier operating system. This rule applies regardless of the value returned from _[CanSpoof](./TPJOSInfo-CanSpoof.md)_.
72+
> † ⚠️ From Windows 8.1 / Windows Server 2012 R 2 onwards, the correct operating system will only be returned if the host application contains a manifest that includes a compatibility section that contains the GUID that designates the appropriate version of Windows. If there is no such manifest, or the designated Windows version is lower than that of the operating system then _Product_ will return the code for an earlier operating system. This rule applies regardless of the value returned from _[CanSpoof](./TPJOSInfo-CanSpoof.md)_.

0 commit comments

Comments
 (0)