Share via


WSCUnInstallNameSpace (Compact 2013)

3/26/2014

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

See Also

Reference

Winsock SPI Functions