Windows Server 2002 Version

OSVBNET 1,386 Reputation points
2021-09-20T05:35:58.477+00:00

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

https://learn.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
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,399 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,461 Reputation points
    2021-09-20T11:34:38.597+00:00

    Hello Osvbnet

    The OSVERSIONINFOA and OSVERSIONINFOEXA have not been updated yet:

    https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-osversioninfoa
    https://learn.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,

    0 comments No comments