Unicode Controls & Classes for VB6 - Version 4

clsCommonWrapper.GetWindowsVersionEx Method

Returns information about the current Windows version

Syntax
Public Sub GetWindowsVersionEx (ByRef ewt As eCtlWindowsType, _
ByRef lMajor As Long, _
ByRef lMinor As Long, _
ByRef lBuild As Long)
Parameters
Parameter Description
ByRef ewt As eCtlWindowsType Windows version (OUT)
ByRef lMajor As Long Major version (OUT)
ByRef lMinor As Long Minor version (OUT)
ByRef lBuild As Long Build number (OUT)
Remarks