Jerry Chou
Jerry Chou

Reputation: 322

OSVERSIONINFOW.dwBuildNumber does not return the complete build number of Windows 10

The build number of my Windows 10 is 18363.900, as shown in the below picture.

About Windows - OS Build I tried RtlGetVersion(PRTL_OSVERSIONINFOW), but OSVERSIONINFOW.dwBuildNumber only returns 18363.

Why doesn't RtlGetVersion return the complete build number? How can I get the complete OS Build number of Windows 10?

Upvotes: 0

Views: 630

Answers (1)

magicandre1981
magicandre1981

Reputation: 28826

This version is not returned by dwBuildNumber, what you want is called UBR can be read from a DWORD from registry:

enter image description here

This number shows the patchlevel. My 329 shows I have this patch installed

Upvotes: 2

Related Questions