Export (0) Print
Expand All

WSANSCLASSINFO structure

The WSANSCLASSINFO structure provides individual parameter information for a specific Windows Sockets namespace.

Syntax


typedef struct _WSANSClassInfoA {
  LPSTR  lpszName;
  DWORD  dwNameSpace;
  DWORD  dwValueType;
  DWORD  dwValueSize;
  LPVOID lpValue;
} WSANSCLASSINFO, *PWSANSCLASSINFO, *LPWSANSCLASSINFO;

Members

lpszName

String value associated with the parameter, such as SAPID, TCPPORT, and so forth.

dwNameSpace

GUID associated with the namespace.

dwValueType

Value type for the parameter, such as REG_DWORD or REG_SZ, and so forth.

dwValueSize

Size of the parameter provided in lpValue, in bytes.

lpValue

Pointer to the value of the parameter.

Remarks

The WSANSCLASSINFO structure is defined differently depending on whether ANSI or UNICODE is used. The above syntax block applies to ANSI; for UNICODE, the datatype for lpszName is LPWSTR.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winsock2.h

See also

WSASERVICECLASSINFO

 

 

Community Additions

ADD
Show:
© 2014 Microsoft