public static void ClearActiveList() { TimerMan pTMan = TimerMan.PrivGetInstance(); Debug.Assert(pTMan != null); TimeEvent pHead = pTMan.GetActiveList(); TimeEvent pNode = pHead; while (pNode != null) { TimeEvent pNext = (TimeEvent)pNode.pNext; Remove(pNode); pNode = pNext; } }