GetTypeByNameA (WSOCK32.1113)
INT GetTypeByNameA ( LPSTR lpServiceName, LPGUID lpServiceType )
Retrieve a service type GUID for a network service specified by name.
lpServiceName | [In] | NUL-terminated ASCII string that uniquely represents the name of the service. |
lpServiceType | [Out] | Destination for the service type GUID. |
Success: 0. lpServiceType contains the requested GUID
Failure: SOCKET_ERROR. GetLastError can return ERROR_SERVICE_DOES_NOT_EXIST.
Obsolete Microsoft-specific extension to Winsock 1.1. Protocol-independent name resolution provides equivalent functionality in Winsock 2.
Unimplemented
Defined in "nspapi.h".
Implemented in "dlls/wsock32/service.c". source.winehq.org/source/dlls/wsock32/service.c
Debug channel "winsock".
Copyright © 2007 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2007.