SetServiceA (WSOCK32.1117)
INT SetServiceA ( DWORD dwNameSpace, DWORD dwOperation, DWORD dwFlags, LPSERVICE_INFOA lpServiceInfo, LPSERVICE_ASYNC_INFO lpServiceAsyncInfo, LPDWORD lpdwStatusFlags )
Register or unregister a network service with one or more namespaces.
dwNameSpace | [In] | Name space or set of name spaces within which the function will operate. |
dwOperation | [In] | Operation to perform. |
dwFlags | [In] | Flags to modify the function's operation. |
lpServiceInfo | [In] | Pointer to an ANSI SERVICE_INFO structure. |
lpServiceAsyncInfo | [In] | Reserved for future use. Must be NULL. |
lpdwStatusFlags | [Out] | Destination for function status information. |
Success: 0.
Failure: SOCKET_ERROR. GetLastError can return ERROR_ALREADY_REGISTERED.
Obsolete Microsoft-specific extension to Winsock 1.1, Protocol-independent name resolution provides equivalent functionality in Winsock 2.
Unimplemented.
Declared in "include/nspapi.h". gitlab.winehq.org/wine/wine/blob/master/include/nspapi.h
Implemented in "dlls/wsock32/service.c". gitlab.winehq.org/wine/wine/blob/master/dlls/wsock32/service.c
Debug channel "winsock".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.