Share via


WSCUnInstallNameSpace (Windows Embedded CE 6.0)

1/6/2010

This function uninstalls the indicated name-space provider.

Syntax

int WSCUninstallNameSpace(
  LPGUID lpProviderId 
);

Parameters

  • lpProviderId
    [in] Unique identifier for this provider.

Return Value

If no error occurs, this valuereturns NO_ERROR (zero). Otherwise, it returns SOCKET_ERROR and must retrieve the appropriate error code using the WSAGetLastError function.

The following table shows the possible error code.

Error value Description

WSAEINVAL

Specified name-space–provider identifier is invalid.

WSANO_RECOVERY

Caller application is not privileged.

Remarks

Functions that configure a name space do not affect applications that are already running. Newly installed name-space providers will not be visible to applications nor will the changes in a name-space provider's activation state. Applications launched after the call to this function will see the changes.

Requirements

Header ws2spi.h
Library Ws2.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Winsock SPI Functions

Other Resources

Windows Sockets