Contains attribute information and is a typedef for the WSANSCLASSINFO structure.
#include <winsock/winsock2.h> typedef struct { LPTSTR lpszName; DWORD dwNameSpace; DWORD dwValueType; DWORD dwValueSize; LPVOID lpValue; } WSAATTRINFO;
Specifies the name of the attribute.
Specifies the name space for which the attribute is intended.
Specifies the type of value (as found in winnt.h).
Specifies the length (in bytes) of the attribute value.
Points to the attribute value.
If WS_ATTRLIST_ASCII is specified as the blob signature, lpszName must be in ASCII format. If WS_ATTRLIST_UNICODE is specified as the blob signature, lpszName must be in Unicode format.
Specific name space providers might support other value types for dwValueType as defined in the winnt.h file. For example: