UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:ws2spi.NSPStartup |
NSPStartup function (ws2spi.h) |
Retrieves the dynamic information about a provider, such as the list of the DLL entry points. |
|
winsock\nspstartup_2.htm |
WinSock |
ed9e4ff3-736a-4037-bf85-5572f0cd279d |
12/05/2018 |
NSPStartup, NSPStartup function [Winsock], _win32_nspstartup_2, winsock.nspstartup_2, ws2spi/NSPStartup |
ws2spi.h |
Windows |
Windows 2000 Professional [desktop apps only] |
Windows 2000 Server [desktop apps only] |
Windows |
19H1 |
|
|
|
|
|
|
The NSPStartup function retrieves the dynamic information about a provider, such as the list of the DLL entry points.
This function is called by the client upon initialization. The NSPStartup and NSPCleanup functions must be called as pairs. All NSP functions must be called from within an NSPStartup/NSPCleanup pair. It is not required that WSC functions be called from within a NSPStartup/NSPCleanup pair.
The desired provider from which to return the entry points.
A pointer to an NSP_ROUTINE structure that points to provider entry points if the function call is successful.
The function should return NO_ERROR (zero) if the routine succeeds. It should return SOCKET_ERROR (–1) if the function fails and it must set the appropriate error code using WSASetLastError.
Value | Description |
---|---|
There is not enough memory available to perform this operation. | |
One or more parameters were invalid, or missing, for this provider. | |
The procedure call table is invalid. | |
The operation is not supported. This error is returned if the namespace provider does not implement this function. | |
The NSPStartup function cannot operate at this time because the underlying system it uses to provide network services is currently unavailable. |
For more information, see the NSP_ROUTINE structure.