WSASERVICECLASSINFOW Structure

The WSASERVICECLASSINFO structure contains information about a specified service class. For each service class in Windows Sockets 2, there is a single WSASERVICECLASSINFO structure.

Syntax

typedef struct _WSAServiceClassInfoW {
    LPGUID lpServiceClassId;
    LPWSTR lpszServiceClassName;
    DWORD dwCount;
    LPWSANSCLASSINFOW lpClassInfos;
} WSASERVICECLASSINFOW, *PWSASERVICECLASSINFOW, *LPWSASERVICECLASSINFOW;  

Members

lpServiceClassId
Unique Identifier (GUID) for the service class.

lpszServiceClassName
Well known name associated with the service class.

dwCount
Number of entries in lpClassInfos.

lpClassInfos
Array of WSANSCLASSINFO structures that contains information about the service class.

Requirements

Header: Declared in winsock2.h.

Library: Use ws2_32.lib.