question

osvbnet avatar image
0 Votes"
osvbnet asked LimitlessTechnology-2700 answered

Windows Server 2002 Version

Hey,
I'm getting Windows Version in a legacy VB6 app using GetVersionExA and this table:

https://docs.microsoft.com/en-us/windows/win32/msi/operating-system-property-values?redirectedfrom=MSDN

This table does not show VersionNT and WindowsBuild for Windows Server 2022?
Anyone knows?

windows-server
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello Osvbnet

The OSVERSIONINFOA and OSVERSIONINFOEXA have not been updated yet:

https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-osversioninfoa
https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-osversioninfoexa

I would recommend you to search or start a New Discussion on the TechCommunity for WS 2022/ W11 version:
https://techcommunity.microsoft.com/t5/windows-server-insiders/bd-p/WindowsServerInsiders

Hope this resolves your query,
Best regards,

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.