.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH SetServiceA 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBSetServiceA\fR (WSOCK32.1117) .SH SYNOPSIS INT SetServiceA ( DWORD \fIdwNameSpace\fR, DWORD \fIdwOperation\fR, DWORD \fIdwFlags\fR, LPSERVICE_INFOA \fIlpServiceInfo\fR, LPSERVICE_ASYNC_INFO \fIlpServiceAsyncInfo\fR, LPDWORD \fIlpdwStatusFlags\fR ) .SH DESCRIPTION .PP Register or unregister a network service with one or more namespaces. .SH PARAMS \fIdwNameSpace\fR \fB[In]\fR Name space or set of name spaces within which the function will operate. .PP \fIdwOperation\fR \fB[In]\fR Operation to perform. .PP \fIdwFlags\fR \fB[In]\fR Flags to modify the function's operation. .PP \fIlpServiceInfo\fR \fB[In]\fR Pointer to a \fBASCII\fR SERVICE_INFO structure. .PP \fIlpServiceAsyncInfo\fR \fB[In]\fR Reserved for future use. Must be \fBNULL\fR. .PP \fIlpdwStatusFlags\fR \fB[Out]\fR Destination for function status information. .PP .SH RETURNS .PP \fBSuccess:\fR \fB0.\fR .PP \fBFailure:\fR \fBSOCKET_ERROR\fR. \fBGetLastError(3w)\fR can return \fBERROR_ALREADY_REGISTERED\fR. .SH NOTES .PP Obsolete Microsoft-specific extension to Winsock \fB1.1\fR, Protocol-independent name resolution provides equivalent functionality in Winsock \fB2.\fR .SH BUGS .PP Unimplemented. .SH IMPLEMENTATION .PP Declared in \fB"nspapi.h"\fR. .PP Implemented in \fB"dlls/wsock32/service.c"\fR. .PP Debug channel \fB"winsock"\fR.