cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
daisonav
Level 2

GetSystemInfo of Windows7

Hi,

I want to check the OS installed in the machine and based on that need to check the registry keys of SQL server and .Net framework.But GetSystemInfo API provides details of OS upto WindowsXP service pack3 only.I want details of higher versions like Windows7 ?
Any help will be appreciated.

Regards
Daison
Labels (1)
0 Kudos
(1) Reply
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

The SYSINFO structure should be used instead of the GetSystemInfo function. SYSINFO contains more OS version information than GetSystemInfo. Please see the SYSINFO documentation for more details.
0 Kudos