Share via


NS_SERVICE_INFO (Windows CE 5.0)

Send Feedback

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 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.

    The following table shows the constant values you use 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 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) name space.
    NS_X500 The X.500 directory service name space.
  • ServiceInfo
    A SERVICE_INFO structure that contains information about a network service or network service type.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Winsock2.h.

See Also

SERVICE_INFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.