WSCUnInstallNameSpace
A version of this page is also available for
4/8/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 |
Windows Mobile | Windows Mobile Version 5.0 and later |