Lines Matching refs:g_stComputers

102 ST_MONITORED_COMP g_stComputers[MAX_APACHE_COMPUTERS];
153 if (g_stComputers[i].szComputerName) {
154 free(g_stComputers[i].szComputerName);
155 RegCloseKey(g_stComputers[i].hRegistry);
158 memset(g_stComputers, 0, sizeof(ST_MONITORED_COMP) * MAX_APACHE_COMPUTERS);
166 while (g_stComputers[i].szComputerName != NULL) {
167 if (_tcscmp(g_stComputers[i].szComputerName, szComputerName) == 0) {
179 while (g_stComputers[i].szComputerName != NULL) {
180 if (_tcscmp(g_stComputers[i].szComputerName, szComputerName) == 0) {
185 if (g_stComputers[i].szComputerName != NULL) {
186 free(g_stComputers[i].szComputerName);
187 RegCloseKey(g_stComputers[i].hRegistry);
189 g_stComputers[j].szComputerName= g_stComputers[j+1].szComputerName;
190 g_stComputers[j].hRegistry = g_stComputers[j+1].hRegistry;
192 g_stComputers[j].szComputerName = NULL;
193 g_stComputers[j].hRegistry = NULL;
251 while (g_stComputers[i].szComputerName != NULL) {
252 if (_tcscmp(g_stComputers[i].szComputerName, szComputerName) == 0) {
269 g_stComputers[i].szComputerName = _tcsdup(szComputerName);
270 g_stComputers[i].hRegistry = hKeyRemote;
771 while (g_stComputers[computers].szComputerName != NULL) {
772 hKeyRemote = g_stComputers[computers].hRegistry;
813 _tcsdup(g_stComputers[computers].szComputerName);
825 if (_tcscmp(g_stComputers[computers]
828 _tcscpy(szTmp, g_stComputers[computers]
1577 memset(g_stComputers, 0, sizeof(ST_MONITORED_COMP) * MAX_APACHE_COMPUTERS);
1578 g_stComputers[0].szComputerName = _tcsdup(szCmp);
1579 g_stComputers[0].hRegistry = HKEY_LOCAL_MACHINE;