INT
WSHGetWSAProtocolInfo(
IN LPWSTR ProviderName,
OUT LPWSAPROTOCOL_INFOW *ProtocolInfo,
OUT LPDWORD ProtocolInfoEntries
);
WSHGetWSAProtocolInfo returns a pointer to a WSAPROTOCOL_INFOW structure, which describes the characteristics of the protocol(s) supported by this helper DLL. This function is only called during setup of the WSH DLL.
WSHGetWSAProtocolInfo returns zero if the operation was successful. Otherwise, WSHGetWSAProtocolInfo returns WSAEFAULT to indicate a problem with the input buffer parameters.