Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure contains all registration information for a name space provider.

Syntax

typedef struct _WSANAMESPACE_INFO {
  GUID 
NSProviderId;
  DWORD 
dwNameSpace;
  BOOL 
fActive;
  DWORD 
dwVersion;
  LPTSTR 
lpszIdentifier;
} WSANAMESPACE_INFO, *PWSANAMESPACE_INFO;

Members

NSProviderId

Unique identifier for this name space provider.

dwNameSpace

Name space supported by this implementation of the provider.

fActive

If TRUE, indicates that this provider is active. If FALSE, the provider is inactive and is not accessible for queries, even if the query specifically references this provider.

dwVersion

Name space version identifier.

lpszIdentifier

Display string for the provider.

Requirements

Header winsock2.h
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Other Resources

Windows Sockets