Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you check the windows version in Win32 at runtime?

Tags:

winapi

How do you check the windows version in Win32 at runtime?

like image 247
jyoung Avatar asked Jan 19 '09 15:01

jyoung


People also ask

How do I know my Win32 version?

Click on the Start button then choose Settings. Click on System. Under System, choose About. You will be able to see the bit-version on the System type field.

Is Win32 a window?

(1) A 32-bit version of Windows. Many editions of Windows have come in both 32-bit and 64-bit versions. See 32-bit computing and x86/x64. (2) Win32 is the programming interface (API) for 32-bit and 64-bit Windows operating systems.

Does Windows 10 use Win32?

Win32 APIs exist for many features and technologies in Windows 10, including core user interface and windowing APIs, audio and graphics, and networking.


2 Answers

Use the GetVersionEx() or VerifyVersionInfo() functions.

like image 67
Alnitak Avatar answered Oct 09 '22 10:10

Alnitak


GetVersionEx has been deprecated. We will need to use Version Helper functions.

like image 36
Gautam Jain Avatar answered Oct 09 '22 11:10

Gautam Jain