Partager via


Name Resolution and Winsock

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

For a namespace provider to be accessible through Winsock, it must be properly installed on the system and registered with Windows Sockets. When a namespace provider is installed by invoking a vendor's installation program, configuration information must be added to a link list of providers in Winsock. Ws2.dll exports WSCInstallNameSpace for the vendor's installation program to use. This function is used to supply relevant information about the to-be-installed service provider. This information is included in the following list:

  • Provider Name - A string representing the provider for display in Control Panel
  • Provider Version - The version of this provider
  • Provider Path - A path name to the provider DLL
  • Namespace - The namespace supported by the provider
  • Provider GUID - A unique, vendor-supplied number representing this provider/namespace combination. This is used as a key for all subsequent references to this provider, and for uninstall. These values are created using the Uuidgen.exe utility.
  • Stores all flags - a flag indicating whether this namespace provider will be responsible for retaining all service class schema information for all service classes. If such a provider exists, Ws2.dll does not need to query each individual namespace provider for this information.

See Also

Concepts

Name Resolution Division of Responsibilities Between DLL and Service Providers