Partager via


2.2.2.7 Software Type Flags

The SV_TYPE flags indicate the services that are available on the server.

Constant/value

Description

SV_TYPE_WORKSTATION

0x00000001

A server running the WorkStation Service.

SV_TYPE_SERVER

0x00000002

A server running the Server Service.

SV_TYPE_SQLSERVER

0x00000004

A server running SQL Server.

SV_TYPE_DOMAIN_CTRL

0x00000008

A primary domain controller.

SV_TYPE_DOMAIN_BAKCTRL

0x00000010

A backup domain controller.

SV_TYPE_TIME_SOURCE

0x00000020

A server is available as a time source for network time synchronization.

SV_TYPE_AFP

0x00000040

An Apple File Protocol server.

SV_TYPE_NOVELL

0x00000080

A Novell server.

SV_TYPE_DOMAIN_MEMBER

0x00000100

A LAN Manager 2.x domain member.

SV_TYPE_PRINTQ_SERVER

0x00000200

A server sharing print queue.

SV_TYPE_DIALIN_SERVER

0x00000400

A server running a dial-in service.

SV_TYPE_XENIX_SERVER

0x00000800

A Xenix server.

SV_TYPE_NT

0x00001000

Windows Server 2003 operating system, Windows XP operating system, Windows 2000 operating system, or Windows NT operating system.

SV_TYPE_WFW

0x00002000

A server running Windows for Workgroups.

SV_TYPE_SERVER_MFPN

0x00004000

Microsoft File and Print for NetWare.

SV_TYPE_SERVER_NT

0x00008000

Windows Server 2003, Windows 2000 Server operating system, or a server that is not a domain controller.

SV_TYPE_POTENTIAL_BROWSER

0x00010000

A server that can run the browser service.

SV_TYPE_BACKUP_BROWSER

0x00020000

A server running a browser service as backup.

SV_TYPE_MASTER_BROWSER

0x00040000

A server running the master browser service.

SV_TYPE_DOMAIN_MASTER

0x00080000

A server running the domain master browser.

SV_TYPE_WINDOWS

0x00400000

Windows Millennium Edition operating system, Windows 98 operating system, or Windows 95 operating system.

SV_TYPE_DFS

0x00800000

A server running the DFS service.

SV_TYPE_CLUSTER_NT

0x01000000

Server clusters available in the domain.

SV_TYPE_TERMINALSERVER

0x02000000

Terminal Server.

SV_TYPE_CLUSTER_VS_NT

0x04000000

Cluster virtual servers available in the domain.

SV_TYPE_DCE

0x10000000

A server running IBM DSS (Directory and Security Services) or equivalent.

SV_TYPE_ALTERNATE_XPORT

0x20000000

Return list for alternate transport.

SV_TYPE_LOCAL_LIST_ONLY

0x40000000

Servers maintained by the browser.

SV_TYPE_DOMAIN_ENUM

0x80000000

Primary domain.

SV_TYPE_ALL

0xFFFFFFFF

All servers.