Windows Server 2022 Version

%3CLINGO-SUB%20id%3D%22lingo-sub-2767996%22%20slang%3D%22en-US%22%3EWindows%20Server%202022%20Version%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2767996%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22%22%3E%3CP%3EHey%2C%3CBR%20%2F%3EI'm%20getting%20Windows%20Version%20in%20a%20legacy%20VB6%20app%20using%20GetVersionExA%20and%20this%20table%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fwin32%2Fapi%2Fwinnt%2Fns-winnt-osversioninfoa%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fwin32%2Fapi%2Fwinnt%2Fns-winnt-osversioninfoa%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20table%20does%20not%20show%20VersionNT%20and%20WindowsBuild%20for%20Windows%20Server%202022%3F%3CBR%20%2F%3EAnyone%20knows%3F%3C%2FP%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2767996%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EWindows%20Server%202022%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2768563%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20Server%202022%20Version%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2768563%22%20slang%3D%22en-US%22%3EHello%2C%20this%20is%20by%20design.%20More%20info%20can%20be%20found%20here%2C%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fwindows%2Fwin32%2Fapi%2Fsysinfoapi%2Fnf-sysinfoapi-getproductinfo%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fwindows%2Fwin32%2Fapi%2Fsysinfoapi%2Fnf-sysinfoapi-getproductinfo%3C%2FA%3E.%20%3CBR%20%2F%3E%3CBR%20%2F%3EBut%20maybe%20we%20could%20provide%20more%20info%20if%20we%20knew%20what%20the%20app%20is%20trying%20to%20accomplish.%20Thanks!%3C%2FLINGO-BODY%3E
New Contributor

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!