NS_SERVICE_INFO (Compact 2013)
3/26/2014
This structure contains information about a network service or a network service type in the context of a specified name space, or a set of default namespaces.
Syntax
typedef struct _NS_SERVICE_INFO {
DWORD dwNameSpace;
SERVICE_INFO ServiceInfo;
} NS_SERVICE_INFO;
Members
dwNameSpace
Specifies the namespace or a set of default namespaces to which this service information applies.The following table shows the constant values you use to specify a namespace.
Value
Name space
NS_DEFAULT
A set of default name spaces. The set of default name spaces typically includes all the name spaces 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 name space.
NS_NDS
The NetWare 4 provider.
NS_NETBT
The NetBIOS over TCP/IP layer. The operating system registers their computer names with NetBIOS. This name space 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 name space 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 Naming Service (WINS) namespace.
NS_X500
The X.500 directory service namespace.
- ServiceInfo
A SERVICE_INFO structure that contains information about a network service or network service type.
Requirements
Header |
winsock2.h |