Windows Server 2022 Version

Occasional Visitor

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

 

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

 

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

1 Reply
Hello, this is by design. More info can be found here, https://docs.microsoft.com/windows/win32/api/sysinfoapi/nf-sysinfoapi-getproductinfo.

But maybe we could provide more info if we knew what the app is trying to accomplish. Thanks!