IOCTL_SERVICE_DEREGISTER_SOCKADDR
This IOCTL is passed as an input parameter along with the sockaddr structure when Services.exe calls the xxx_IOControl function to stop a running service
Parameters
- pBufIn
[in] Pointer to a sockaddr structure specifying the protocol, port, and optionally the address that should be used for listening for a particular service.
Return Values
Returns TRUE if successful, FALSE otherwise. To obtain extended error information, call the SetLastError function.
Remarks
If the socket is being closed as a result of a call to the ServiceClosePort function, the particular sockaddr that is being closed will be included as the input parameter. Otherwise, NULL will be passed in to indicate that all a service's listen sockets in the super service thread are being terminated.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Service.h.
See Also
xxx_IOControl | ServiceAddPort | sockaddr | Stopping a Running Service
Last updated on Saturday, April 10, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.