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