bDeleteService

The bDeleteService function is used to delete a service on a computer for a link service. This utility function is used to construct an integrated link service configuration DLL.

BOOL bDeleteService(
  LPSTR szComputerName,
  LPSTR szServiceName
);

Parameters

szComputerName
This supplied parameter specifies the name of the computer to delete the service on.
szServiceName
This supplied parameter specifies the name of the service that is to be deleted. This parameter is passed unchanged to the Windows NT OpenService function.

Return Values

true
The function executed successfully and the service was deleted.
false
One or more of the parameters passed to this function are invalid or the function failed.