modGlobal: GetWindowsVersion

GetWindowsVersion

Get the Windows version installed.



 Public Sub GetWindowsVersion(
	  Optional ByRef lMajor As Integer = 0,
	  Optional ByRef lMinor As Integer = 0,
	  Optional ByRef lRevision As Integer = 0,
	  Optional ByRef lBuildNumber As Integer = 0,
	  Optional ByRef bIsNT As Boolean = False )

Parameters

lMajor
[ByRef] Optional. Integer. Major version number  

Default: 0

lMinor
[ByRef] Optional. Integer. Minor version number  

Default: 0

lRevision
[ByRef] Optional. Integer. Revision number  

Default: 0

lBuildNumber
[ByRef] Optional. Integer. Build number  

Default: 0

bIsNT
[ByRef] Optional. Boolean. True if have NT kernel  

Default: False

Remarks

See Also

Project pop2owa Overview Class modGlobal Overview modGlobal Properties modGlobal Methods GetVersion (function) KillProcess