WSPDATA structure (ws2spi.h)
The WSPDATA structure contains service provider information.
Syntax
typedef struct WSPData {
WORD wVersion;
WORD wHighVersion;
WCHAR szDescription[WSPDESCRIPTION_LEN + 1];
} WSPDATA, *LPWSPDATA;
Members
wVersion
Version of the Windows Sockets SPI specification that the Windows Sockets service provider expects the caller to use.
wHighVersion
Highest version of the Windows Sockets SPI specification that this service provider can support (also encoded as above). Normally this will be the same as wVersion.
szDescription[WSPDESCRIPTION_LEN + 1]
Null-terminated Unicode string into which the Windows Sockets provider copies a description of itself. The text (up to 256 characters in length) can contain any characters except control and formatting characters: the most likely use to which an SPI client will put this is to display it (possibly truncated) in a status message.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | ws2spi.h |