Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function uninstalls the indicated name-space provider.
int WSCUninstallNameSpace(LPGUID lpProviderId);
Parameters
- lpProviderId
[in] Unique identifier for this provider.
Return Values
If no error occurs, this value returns 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 trusted. |
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
OS Versions: Windows CE .NET 4.0 and later.
Header: Ws2spi.h.
Link Library: Ws2.lib.
See Also
Send Feedback on this topic to the authors