GetTypeByNameA(3w)

NAME

GetTypeByNameA (WSOCK32.1113)

SYNOPSIS

INT GetTypeByNameA
 (
  LPSTR  lpServiceName,
  LPGUID lpServiceType
 )

DESCRIPTION

Retrieve a service type GUID for a network service specified by name.

PARAMS

lpServiceName [In] NUL-terminated ASCII string that uniquely represents the name of the service.

lpServiceType [Out] Destination for the service type GUID.

RETURNS

Success: 0. lpServiceType contains the requested GUID

Failure: SOCKET_ERROR. GetLastError(3w) can return ERROR_SERVICE_DOES_NOT_EXIST.

NOTES

Obsolete Microsoft-specific extension to Winsock 1.1. Protocol-independent name resolution provides equivalent functionality in Winsock 2.

BUGS

Unimplemented

IMPLEMENTATION

Defined in "nspapi.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/wsock32/service.c".

Debug channel "winsock".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout