// One time initialization of interface dispatch. bool InitializeInterfaceDispatch() { g_pAllocHeap = new AllocHeap(); if (g_pAllocHeap == NULL) return false; if (!g_pAllocHeap->Init()) return false; g_sListLock.Init(CrstInterfaceDispatchGlobalLists, CRST_DEFAULT); return true; }