ServiceUnbindPorts (Windows CE 5.0)
This function closes all ports that are listening on the super server and are associated with the specified device.
[in] Handle to the service instance whose associated super service sockets must be unbound.
A nonzero value indicates success. A value of zero indicates failure. To get extended error information, call GetLastError.
OS Versions: Windows CE .NET 4.0 and later.
Link Library: Coredll.lib.
Send Feedback on this topic to the authors