WSAInstallServiceClass

The Windows Sockets WSAInstallServiceClass function registers a service class schema within a name space. This schema includes the class name, class id, and any name space specific information that is common to all instances of the service, such as the SAP ID or object ID.

INT WSAInstallServiceClass(

LPWSASERVICECLASSINFO lpServiceClassInfo

);

Parameters

lpServiceClasslnfo

[in] Service class to name space specific type mapping information. Multiple mappings can be handled at one time.

See section Service Class Data Structures for a description of pertinent data structures.

Return Values

The return value is zero if the operation was successful. Otherwise, the value SOCKET_ERROR is returned, and a specific error number may be retrieved by calling WSAGetLastError.

Error Codes

WSAEACCESS
The calling routine does not have sufficient privileges to install the Service.
WSAEALREADY
Service class information has already been registered for this service class ID. To modify service class info, first use WSARemoveServiceClass, and then re-install with updated class info data.
WSANOTINITIALIZED
The Windows Sockets 2 DLL has not been initialized. The application must first call WSAStartup before calling any Windows Sockets functions.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database