The WSCUninstallNameSpace function uninstalls the indicated name space provider.
int WSCUninstallNameSpace (
LPGUID lpProviderId
);
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.
If no error occurs, WSCUninstallNameSpace returns NO_ERROR (zero). Otherwise, it returns SOCKET_ERROR and must set the appropriate error code using SetLastError.
WSAEINVAL | the specified name space provider ID is invalid. |