2.2.1.3.15 NL_OSVERSIONINFO_V1

The NL_OSVERSIONINFO_V1 structure specifies the values used to update the operatingSystemVersion and operatingSystem attributes on the client's computer account object in Active Directory on a normal (writable) DC.<31>

 typedef struct _NL_OSVERSIONINFO_V1 {
   DWORD dwOSVersionInfoSize;
   DWORD dwMajorVersion;
   DWORD dwMinorVersion;
   DWORD dwBuildNumber;
   DWORD dwPlatformId;
   wchar_t szCSDVersion[128];
   USHORT wServicePackMajor;
   USHORT wServicePackMinor;
   USHORT wSuiteMask;
   UCHAR wProductType;
   UCHAR wReserved;
 } NL_OSVERSIONINFO_V1;

dwOSVersionInfoSize: The size, in bytes, of this data structure. Set this member to sizeof(NL_OSVERSIONINFO_V1).

dwMajorVersion: The implementation-specific major version number of the operating system.<32>

dwMinorVersion: The implementation-specific minor version number of the operating system.<33>

dwBuildNumber: The build number of the operating system.

dwPlatformId: The operating system platform. This member can be 0x00000002.

szCSDVersion: A null-terminated string, such as "Service Pack 3", that indicates the latest service pack installed on the system. If no service pack has been installed, the string is empty.

wServicePackMajor: The major version number of the latest service pack installed on the system. For example, for "Service Pack 3", the major version number is 3. If no service pack has been installed, the value is 0.

wServicePackMinor: The minor version number of the latest service pack installed on the system. For example, for "Service Pack 3", the minor version number is 0.

wSuiteMask: A bit mask that identifies the product suites available on the system. This member can be a combination of the following values.

Value

Meaning

VER_SUITE_BACKOFFICE

0x00000004

Microsoft BackOffice components are installed.

VER_SUITE_BLADE

0x00000400

Windows Server 2003 Web Edition operating system is installed.

VER_SUITE_COMPUTE_SERVER

0x00004000

Windows Server 2003 operating system Compute Cluster Edition is installed.

VER_SUITE_DATACENTER

0x00000080

Windows 2000 Datacenter Server operating system, Windows Server 2003 Datacenter Edition operating system, Windows Server 2008 Datacenter operating system, or Windows Server 2008 R2 Datacenter operating system is installed.

VER_SUITE_ENTERPRISE

0x00000002

Windows NT Server 4.0 operating system, Enterprise Edition, Windows 2000 Advanced Server operating system, Windows Server 2003 Enterprise Edition operating system, Windows Server 2008 Enterprise operating system, or Windows Server 2008 R2 Enterprise operating system is installed.

VER_SUITE_EMBEDDEDNT

0x00000040

Windows XP operating system Embedded is installed.

VER_SUITE_PERSONAL

0x00000200

Windows XP Home Edition operating system, Windows Vista operating system Home Basic, or Windows Vista Home Premium is installed.

VER_SUITE_SINGLEUSERTS

0x00000100

Remote Desktop is supported, but only one interactive session is supported. This value is set unless the system is running in application server mode.

VER_SUITE_SMALLBUSINESS

0x00000001

Microsoft Small Business Server was once installed on the system, but might have been upgraded to another version of Windows. For this bit flag, see the Remarks section.

VER_SUITE_SMALLBUSINESS_RESTRICTED

0x00000020

Microsoft Small Business Server is installed with the restrictive client license in force. For this bit flag, see the Remarks section.

VER_SUITE_STORAGE_SERVER

0x00002000

Windows Storage Server 2003 operating system or Windows Storage Server 2003 R2 operating system, Standard Edition is installed.

VER_SUITE_TERMINAL

0x00000010

Terminal Services is installed. This value is always set.

If VER_SUITE_TERMINAL is set but VER_SUITE_SINGLEUSERTS is not set, the system is running in application server mode.

VER_SUITE_WH_SERVER

0x00008000

Windows Home Server server software is installed.

wProductType: Any additional information about the system. This member can be one of the following values.

Value

Meaning

VER_NT_DOMAIN_CONTROLLER

0x00000002

The system is a domain controller.

VER_NT_SERVER

0x00000003

The system is a server. Note that a server that is also a domain controller is reported as VER_NT_DOMAIN_CONTROLLER, not VER_NT_SERVER.

VER_NT_WORKSTATION

0x00000001

The operating system is Windows NT Workstation 4.0 operating system, Windows 2000 Professional operating system, Windows XP Home Edition, Windows XP Professional operating system, Windows Vista, Windows 7 operating system, Windows 8 operating system, Windows 8.1 operating system, or Windows 10 operating system.

wReserved: Reserved for future use.<34>

Show: