Lines Matching refs:pAllServices
261 if (Info->pAllServices != NULL) in FreeServiceList()
265 if (Info->pAllServices[i].lpServiceName) in FreeServiceList()
266 HeapFree(ProcessHeap, 0, Info->pAllServices[i].lpServiceName); in FreeServiceList()
268 if (Info->pAllServices[i].lpDisplayName) in FreeServiceList()
269 HeapFree(ProcessHeap, 0, Info->pAllServices[i].lpDisplayName); in FreeServiceList()
272 HeapFree(ProcessHeap, 0, Info->pAllServices); in FreeServiceList()
273 Info->pAllServices = NULL; in FreeServiceList()
339 Info->pAllServices = (ENUM_SERVICE_STATUS_PROCESS *)HeapAlloc(ProcessHeap, in GetServiceList()
342 if (Info->pAllServices != NULL) in GetServiceList()
348 Info->pAllServices[i].lpServiceName = HeapAlloc(ProcessHeap, in GetServiceList()
351 if (Info->pAllServices[i].lpServiceName) in GetServiceList()
352 wcscpy(Info->pAllServices[i].lpServiceName, pServices[i].lpServiceName); in GetServiceList()
354 Info->pAllServices[i].lpDisplayName = HeapAlloc(ProcessHeap, in GetServiceList()
357 if (Info->pAllServices[i].lpDisplayName) in GetServiceList()
358 wcscpy(Info->pAllServices[i].lpDisplayName, pServices[i].lpDisplayName); in GetServiceList()
360 CopyMemory(&Info->pAllServices[i].ServiceStatusProcess, in GetServiceList()