VOID ThemeLoader_Deinitialize() { ThemeLoader_UnloadImages(); ImageFactory_Deinitialize(); if (hRegNotify_Normal != NULL) RegistryCloseNotification(hRegNotify_Normal); if (hRegNotify_Selected != NULL) RegistryCloseNotification(hRegNotify_Selected); hRegNotify_Normal = NULL; hRegNotify_Selected = NULL; };
CNotifications::~CNotifications() { for (int i = 0; i < MAXDWORDNOTIFICATION; i++) { if (dwHrNotify[i]) { RegistryCloseNotification(dwHrNotify[i]); dwHrNotify[i] = NULL; } } for (int i = 0; i < MAXSTRINGNOTIFICATION; i++) { if (szHrNotify[i]) { RegistryCloseNotification(szHrNotify[i]); szHrNotify[i] = NULL; } } for (int i = 0; i < MAXFILETIMENOTIFICATION; i++) { if (ftHrNotify[i]) { RegistryCloseNotification(ftHrNotify[i]); ftHrNotify[i] = NULL; } } }