.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH WSAEnumProtocolsW 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBWSAEnumProtocolsW\fR (WS2_32.@) .SH SYNOPSIS INT WSAEnumProtocolsW ( LPINT \fIprotocols\fR, LPWSAPROTOCOL_INFOW \fIbuffer\fR, LPDWORD \fIlen\fR ) .SH DESCRIPTION .PP Retrieves information about specified set of active network \fIprotocols\fR. .SH PARAMS \fIprotocols\fR \fB[In]\fR Pointer to NULL-terminated array of protocol id's. \fBNULL\fR retrieves information on all available \fIprotocols\fR. .PP \fIbuffer\fR \fB[In]\fR Pointer to a \fIbuffer\fR to be filled with \fBWSAPROTOCOL_INFO\fR structures. .PP \fIlen\fR \fB[In/Out]\fR Pointer to a variable specifying \fIbuffer\fR size. On output the variable holds the number of bytes needed when the specified size is too small. .PP .SH RETURNS .PP \fBSuccess:\fR number of \fBWSAPROTOCOL_INFO\fR structures in \fIbuffer\fR. .PP \fBFailure:\fR \fBSOCKET_ERROR\fR. .SH NOTES .PP \fBNT4SP5\fR does not return \fBSPX\fR if \fIprotocols\fR == \fBNULL\fR. .SH BUGS .PP \fB-\fR \fBNT4SP5\fR returns in addition these list of \fBNETBIOS\fR \fIprotocols\fR (address family \fB17\fR), each entry two times one for socket type \fB2\fR and \fB5.\fR .PP iProtocol szProtocol 0x80000000 \Device\NwlnkNb 0xfffffffa \Device\NetBT_CBENT7 0xfffffffb \Device\Nbf_CBENT7 0xfffffffc \Device\NetBT_NdisWan5 0xfffffffd \Device\NetBT_El9202 0xfffffffe \Device\Nbf_El9202 0xffffffff \Device\Nbf_NdisWan4. .PP \fB-\fR there is no check that the operating system supports the returned \fIprotocols\fR .SH IMPLEMENTATION .PP Declared in \fB"winsock2.h"\fR. .PP Implemented in \fB"dlls/ws2_32/protocol.c"\fR. .PP Debug channel \fB"winsock"\fR.