Lines Matching defs:g_stServices
101 ST_APACHE_SERVICE g_stServices[MAX_APACHE_SERVICES];
127 if (g_stServices[i].szServiceName) {
128 free(g_stServices[i].szServiceName);
130 if (g_stServices[i].szDisplayName) {
131 free(g_stServices[i].szDisplayName);
133 if (g_stServices[i].szDescription) {
134 free(g_stServices[i].szDescription);
136 if (g_stServices[i].szImagePath) {
137 free(g_stServices[i].szImagePath);
139 if (g_stServices[i].szComputerName) {
140 free(g_stServices[i].szComputerName);
144 memset(g_stServices, 0, sizeof(ST_APACHE_SERVICE) * MAX_APACHE_SERVICES);
331 while (g_stServices[i].szServiceName != NULL)
333 if (g_stServices[i].dwPid != 0) {
464 while (g_stServices[i].szServiceName != NULL)
466 appendServiceMenu(hMenu, i, g_stServices[i].szDisplayName,
467 g_stServices[i].dwPid != 0);
739 while (g_stServices[i].szServiceName != NULL)
741 if (!IsServiceRunning(g_stServices[i].szServiceName,
742 g_stServices[i].szComputerName, &dwPid)) {
745 if (g_stServices[i].dwPid != dwPid) {
748 g_stServices[i].dwPid = dwPid;
810 g_stServices[stPos].szServiceName = _tcsdup(achKey);
811 g_stServices[stPos].szImagePath = _tcsdup(szImagePath);
812 g_stServices[stPos].szComputerName =
818 g_stServices[stPos].szDescription = _tcsdup(szBuf);
836 g_stServices[stPos].szDisplayName = _tcsdup(szTmp);
982 while (g_stServices[i].szServiceName != NULL)
984 addListBoxItem(hListBox, g_stServices[i].szDisplayName,
985 g_stServices[i].dwPid == 0 ? g_hBmpStop
998 ApacheManageService(g_stServices[LOWORD(wParam)].szServiceName,
999 g_stServices[LOWORD(wParam)].szImagePath,
1000 g_stServices[LOWORD(wParam)].szComputerName,
1015 while (g_stServices[i].szServiceName != NULL)
1017 addListBoxItem(hListBox, g_stServices[i].szDisplayName,
1018 g_stServices[i].dwPid == 0 ? g_hBmpStop : g_hBmpStart);
1101 if (_tcscmp(g_stServices[lpdis->itemID].szComputerName,
1109 if (g_stServices[lpdis->itemID].szDescription) {
1111 (LPARAM)g_stServices[lpdis->itemID].szDescription);
1222 am_DisconnectComputer(g_stServices[nItem].szComputerName);
1283 while (g_stServices[nPrev].szServiceName != NULL)
1286 while (g_stServices[nNew].szServiceName != NULL)
1363 ApacheManageService(g_stServices[LOWORD(wParam)
1365 g_stServices[LOWORD(wParam)
1367 g_stServices[LOWORD(wParam)
1374 ApacheManageService(g_stServices[LOWORD(wParam)
1376 g_stServices[LOWORD(wParam)
1378 g_stServices[LOWORD(wParam)
1385 ApacheManageService(g_stServices[LOWORD(wParam)
1387 g_stServices[LOWORD(wParam)
1389 g_stServices[LOWORD(wParam)
1637 memset(g_stServices, 0, sizeof(ST_APACHE_SERVICE) * MAX_APACHE_SERVICES);