WSCUninstallNameSpace

The WSCUninstallNameSpace function uninstalls the indicated name space provider.

int WSCUninstallNameSpace (
  LPGUID lpProviderId   
);
 

Parameters

lpProviderId
[in] The unique identifier for this provider.

Remarks

The name space configuration functions 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 WSCUninstallNameSpace will see the changes.

Return Values

If no error occurs, WSCUninstallNameSpace returns NO_ERROR (zero). Otherwise, it returns SOCKET_ERROR and must set the appropriate error code using SetLastError.

Error Codes

WSAEINVAL the specified name space provider ID is invalid.