ServiceUnbindPorts (Windows CE 5.0)

Send Feedback

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

Services.exe

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.