VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Get Operating System Version/Service Pack (37 Flavors Supported; See List)

by James Dougherty (22 Submissions)
Category: Miscellaneous
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

This will obtain the Microsoft Windows version on the platform the program is executed on. It supports the newest versions too. Feedback is appreciated. Note that Blackcomb will change as it is just their code name for that Operating System.

API Declarations
Public Enum OSPLATFORM_PRODUCT
OSPP_UNKNOWN = 0
OSPP_WINDOWS_32S = 1
OSPP_WINDOWS_95 = 2
OSPP_WINDOWS_95_SP1 = 3
OSPP_WINDOWS_95_OSR2 = 4
OSPP_WINDOWS_95_OSR25 = 5
OSPP_WINDOWS_98 = 6
OSPP_WINDOWS_98_SP1 = 7
OSPP_WINDOWS_98_SE = 8
OSPP_WINDOWS_ME = 9
OSPP_WINDOWS_2000 = 10
OSPP_WINDOWS_2000_PROFESSIONAL = 11
OSPP_WINDOWS_2000_SERVER = 12
OSPP_WINDOWS_2000_SERVER_DATACENTER = 13
OSPP_WINDOWS_2000_SERVER_ADVANCED = 14
OSPP_WINDOWS_2003 = 15
OSPP_WINDOWS_2003_R2 = 16
OSPP_WINDOWS_2003_ENTERPRISE = 17
OSPP_WINDOWS_2003_DATACENTER = 18
OSPP_WINDOWS_2003_WEB = 19
OSPP_WINDOWS_2003_X64 = 20
OSPP_WINDOWS_2003_ENTERPRISE_X64 = 21
OSPP_WINDOWS_2003_DATACENTER_X64 = 22
OSPP_WINDOWS_2003_ENTERPRISE_ITANIUM = 23
OSPP_WINDOWS_2003_DATACENTER_ITANIUM = 24
OSPP_WINDOWS_XP = 25
OSPP_WINDOWS_XP_X64 = 26
OSPP_WINDOWS_XP_HOME = 27
OSPP_WINDOWS_XP_PROFESSIONAL = 28
OSPP_WINDOWS_NT = 29
OSPP_WINDOWS_NT_351 = 30
OSPP_WINDOWS_NT_400 = 31
OSPP_WINDOWS_NT_400_WORKSTATION = 32
OSPP_WINDOWS_NT_400_SERVER_ENTERPRISE = 33
OSPP_WINDOWS_NT_400_SERVER = 34
OSPP_WINDOWS_VISTA = 35
OSPP_WINDOWS_SERVER_LONGHORN = 36
OSPP_WINDOWS_BLACKCOMB = 37
End Enum

Rate Get Operating System Version/Service Pack (37 Flavors Supported; See List)

Download Get Operating System Version/Service Pack (37 Flavors Supported; See List)

Download Get Operating System Version/Service Pack (37 Flavors Supported; See List) (26 KB)

Get Operating System Version/Service Pack (37 Flavors Supported; See List) Comments

No comments have been posted about Get Operating System Version/Service Pack (37 Flavors Supported; See List). Why not be the first to post a comment about Get Operating System Version/Service Pack (37 Flavors Supported; See List).

Post your comment

Subject:
Message:
0/1000 characters