Share via


IOCTL_SERVICE_DEREGISTER_SOCKADDR (Windows CE 5.0)

Send Feedback

This IOCTL is passed as an input parameter along with the sockaddr structure when Services.exe calls the xxx_IOControl (Services.exe) 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 (Services.exe) | ServiceAddPort | sockaddr | Stopping a Running Service

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.