NS_SERVICE_INFO  53Z3AX5 

The NS_SERVICE_INFO 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 name spaces.  

typedef struct _NS_SERVICE_INFO { 

    DWORD   dwNameSpace;

    SERVICE_INFO ServiceInfo;

} NS_SERVICE_INFO;

 

Members

dwNameSpace

Specifies the name space or a set of default name spaces to which this service information applies.

Use one of the following constant values to specify a name space:

 

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 name spaces from the set. 

NS_DNS

The Domain Name System used in the Internet to resolve the name of the host.

NS_MS

 

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

 

NS_X500

 

 

ServiceInfo

A SERVICE_INFO structure that contains information about a network service or network service type.

 

See Also

GetService, SetService, SERVICE_INFO