- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
#if !defined(_CONSOLE) && !defined(BOOTSTRAP_AGENT)
g_scheduler.Init(&g_Schedule);
#endif
#if (defined(UNDER_CE) || defined(MC_AGENT)) && !defined(BOOTSTRAP_AGENT) /*&& !defined(_CONSOLE) */&& !defined(MC_APM_AGENT)
m_collector.InitializeFromPDB(/*GetPdbFile()*/);
#endif
#if (defined(UNDER_CE) || defined(MC_AGENT)) && !defined(BOOTSTRAP_AGENT) && !defined(_CONSOLE) && !defined(MC_APM_AGENT)
m_Alert.InitializeFromPDB();
#endif
#if !defined( _CONSOLE ) && !defined(BOOTSTRAP_AGENT)
g_ScheduleEngine.Add( this ); // install scheduler
#endif
#if !defined(BOOTSTRAP_AGENT) && !defined(MC_APM_AGENT) && !defined(PRINTER_AGENT)
g_manager.LoadFromPDB();
#endif
#if (defined(UNDER_CE) && !defined(BOOTSTRAP_AGENT)) || (defined(MC_AGENT) && !defined(_CONSOLE))
WriteMCConnectionStatus(MCA_CONN_STATUS_INITIALIZING);
#endif
ASSERT(pData != NULL);
DWORD dwRetries = 0;
bool bFirstDevPkgInstalled = false; // for HHI agent only
while (pData->nTask != PDT_QUIT)
{
#ifdef HHI_AGENT
..............