DeleteService function advapi32

int DeleteService(
  1. int hService
)

Marks the specified service for deletion from the service control manager database.

BOOL DeleteService(
  [in] SC_HANDLE hService
);

Implementation

int DeleteService(int hService) => _DeleteService(hService);