WSAEnumProtocols
E724292
WSAEnumProtocols is a Windows Sockets (Winsock) API function that retrieves information about the network protocols supported by the system.
Statements (46)
| Predicate | Object |
|---|---|
| instanceOf | Winsock function ⓘ |
| belongsToFamily | Winsock 2 NERFINISHED ⓘ |
| canFilterBy |
NULL protocol list to enumerate all
ⓘ
protocol identifier list ⓘ |
| category | network programming API ⓘ |
| definedInHeader | winsock2.h ⓘ |
| describedIn | Microsoft Win32 API documentation NERFINISHED ⓘ |
| documentationSection | Winsock functions reference ⓘ |
| errorCondition |
WSAEFAULT for invalid buffer pointer
ⓘ
WSAENOBUFS when buffer is too small ⓘ WSANOTINITIALISED when Winsock not started ⓘ |
| exportedBy | Ws2_32.dll ⓘ |
| hasAnsiVariant | WSAEnumProtocolsA NERFINISHED ⓘ |
| hasCallingConvention | WINAPI ⓘ |
| hasParameter |
LPDWORD lpdwBufferLength
ⓘ
LPINT lpiProtocols ⓘ LPWSAPROTOCOL_INFO lpProtocolBuffer ⓘ |
| hasReturnType | int ⓘ |
| hasUnicodeVariant | WSAEnumProtocolsW NERFINISHED ⓘ |
| introducedIn | Winsock 2 specification NERFINISHED ⓘ |
| partOf |
Windows Sockets API
NERFINISHED
ⓘ
Winsock2 library NERFINISHED ⓘ |
| platform |
Windows Server
NERFINISHED
ⓘ
Windows desktop ⓘ |
| relatedFunction |
WSACleanup
ⓘ
WSAGetLastError ⓘ WSASocket ⓘ WSAStartup ⓘ |
| relatedStructure | WSAPROTOCOL_INFO ⓘ |
| requiresInitialization | WSAStartup ⓘ |
| requiresLibrary | Ws2_32.lib ⓘ |
| returnsOnFailure | SOCKET_ERROR ⓘ |
| returnsOnSuccess | number of protocols ⓘ |
| runsOn | Windows operating system NERFINISHED ⓘ |
| setsErrorCodeIn | WSAGetLastError ⓘ |
| supportsFeatureDiscovery |
maximum message size
ⓘ
multicast support ⓘ protocol chain information ⓘ quality of service capabilities ⓘ service flags ⓘ |
| threadSafety | depends on Winsock provider implementation ⓘ |
| usedFor |
discovering supported transport protocols
ⓘ
enumerating network protocols ⓘ querying installed Winsock service providers ⓘ retrieving protocol capability information ⓘ |
| usesStructure | WSAPROTOCOL_INFO ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.