WSAATTRINFO

Contains attribute information and is a typedef for the WSANSCLASSINFO structure.

Service:Winsock 2

Syntax

  #include <winsock/winsock2.h>
  
  typedef struct 
  {
     LPTSTR   lpszName; 
     DWORD    dwNameSpace; 
     DWORD    dwValueType; 
     DWORD    dwValueSize; 
     LPVOID   lpValue; 
  } WSAATTRINFO;
  

Fields

lpszName

Specifies the name of the attribute.

dwNameSpace

Specifies the name space for which the attribute is intended.

dwValueType

Specifies the type of value (as found in winnt.h).

dwValueSize

Specifies the length (in bytes) of the attribute value.

lpValue

Points to the attribute value.

Remarks

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: