RemoveLinkService

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

__declspec(dllexport) BOOL WINAPI RemoveLinkService(
  LPSTR szComputerName,
  LPSTR szLinkServiceTitle
);

Parameters

szComputerName
This supplied parameter specifies the name of the computer that is to have the link service removed.
szLinkServiceTitle
This supplied parameter specifies the title of the link service that is to be removed.

Return Values

true
The function executed successfully and network bindings need to be recalculated.
false
One or more of the parameters passed to this function are invalid or network bindings do not need to be recalculated.