The
NS_SERVICE_INFO structure contains information about a network service or a network service type in the context of a specified namespace, or a set of default namespaces.
Syntax
typedef struct _NS_SERVICE_INFO {
DWORD dwNameSpace;
SERVICE_INFO ServiceInfo;
} NS_SERVICE_INFO;
Members
- dwNameSpace
-
Type: DWORD
-
Namespace, or a set of default namespaces, to which this service information applies.
Use one of the following constant values to specify a namespace.
| Value | Meaning |
- NS_DEFAULT
|
A set of default namespaces. The set of default namespaces typically includes all the namespaces installed on the system. System administrators, however, can exclude particular namespaces from the set.
|
- NS_DNS
|
The Domain Name System used in the Internet to resolve the name of the host.
|
- NS_MS
|
The Microsoft namespace.
|
- NS_NDS
|
The NetWare 4 provider.
|
- NS_NETBT
|
The NetBIOS over TCP/IP layer. The operating system registers their computer names with NetBIOS. This namespace is used to convert a computer name to an IP address that uses this registration.
|
- NS_NIS
|
|
- NS_SAP
|
The NetWare Service Advertising Protocol. This can access the NetWare bindery, if appropriate. NS_SAP is a dynamic namespace that enables the registration of services.
|
- NS_STDA
|
|
- NS_TCPIP_HOSTS
|
Lookup value in the <systemroot>\system32\drivers\etc\posts file.
|
- NS_TCPIP_LOCAL
|
Local TCP/IP name resolution mechanisms, including comparisons against the local host name and lookup value in the cache of host to IP address mappings.
|
- NS_WINS
|
The Windows Internet Name System (WINS) namespace.
|
- NS_X500
|
The X.500 directory service namespace.
|
- ServiceInfo
-
Type: SERVICE_INFO
-
A
SERVICE_INFO structure that contains information about a network service or network service type.
Requirements
|
Minimum supported client
| Windows 2000 Professional [desktop apps only] |
|
Minimum supported server
| Windows 2000 Server [desktop apps only] |
|
Header
|
- Nspapi.h
|
|
Unicode and ANSI names
| NS_SERVICE_INFOW (Unicode) and NS_SERVICE_INFOA (ANSI) |
See also
-
SERVICE_INFO
Send comments about this topic to Microsoft
Build date: 11/29/2012