mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- check the checkboxes of the services which have the running state
- bug 1986 svn path=/trunk/; revision=34241
This commit is contained in:
@@ -135,6 +135,11 @@ GetServices ( void )
|
||||
item.lParam = 0;
|
||||
item.iItem = ListView_InsertItem(hServicesListCtrl, &item);
|
||||
|
||||
if (pServiceStatus[Index].ServiceStatusProcess.dwCurrentState == SERVICE_RUNNING)
|
||||
{
|
||||
ListView_SetCheckState(hServicesListCtrl, item.iItem, TRUE);
|
||||
}
|
||||
|
||||
BytesNeeded = 0;
|
||||
hService = OpenService(ScHandle, pServiceStatus[Index].lpServiceName, SC_MANAGER_CONNECT);
|
||||
if (hService != INVALID_HANDLE_VALUE)
|
||||
|
||||
Reference in New Issue
Block a user