The SIOGIFCONF command provided by most UNIX implementations is supported in form of WSAIoctl and WSPIoctl functions with the command SIO_GET_INTERFACE_LIST. This command returns the list of configured interfaces and their parameters. Support of this command is mandatory for Windows Sockets 2 compliant TCP/IP service providers.
The parameter lpvOutBuffer points to the buffer in which the WSAIoctl/WSPIoctl functions stores the information about interfaces. The description of the structure of this appears above. The number of interfaces (number of structures returned in lpvOutBuffer) can be determined based on the actual length of the output buffer returned in lpcbBytesReturned.