bStopService
The bStopService function is used to stop a service running on a computer for a link service. This utility function is used to construct an integrated link service configuration DLL.
BOOL bStopService(
LPSTR szServiceName,
LPSTR szComputerName
);
Parameters
-
szServiceName
-
This supplied parameter specifies the name of the service that is to be stopped. This parameter is passed unchanged to the Windows NT OpenService function.
-
szComputerName
-
This supplied parameter specifies the name of the computer to stop the service on.
Return Values
-
true
-
The function executed successfully and the service was stopped.
-
false
-
One or more of the parameters passed to this function are invalid or the function failed.