RemoveAllLinkServices

The RemoveAllLinkServices function is used to remove all link services from a machine. This function must be exported from a link service configuration DLL supplied with each link service.

__declspec(dllexport) BOOL WINAPI RemoveAllLinkServices(
  LPSTR szComputerName
);

Parameters

szComputerName
This supplied parameter specifies the name of the computer that is to have all link services removed.

Return Values

true
The function executed successfully and network bindings need to be recalculated.
false
The parameter passed to this function is invalid or network bindings do not need to be recalculated.