Share via


IOCTL_SERVICE_DEREGISTER_SOCKADDR (Windows Embedded CE 6.0)

1/6/2010

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 GetLastError 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

Header service.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Services.exe IOCTLS
xxx_IOControl (Services.exe)
ServiceAddPort

Concepts

Stopping a Running Service

Other Resources

sockaddr