void uiUninit(void) { uninitMenus(); CoUninitialize(); uninitDialogHelper(); if (DeleteObject(hollowBrush) == 0) logLastError("error freeing hollow brush in uiUninit()"); if (SetConsoleCtrlHandler(consoleCtrlHandler, FALSE) == 0) logLastError("error unregistering console end session handler in uiUninit()"); uninitContainer(); if (DeleteObject(hMessageFont) == 0) logLastError("error deleting control font in uiUninit()"); unregisterWindowClass(); // no need to delete the default icon or cursor; see http://stackoverflow.com/questions/30603077/ uninitUtilWindow(); uninitResizes(); uninitTypes(); uninitAlloc(); }
void uiUninit(void) { uninitMenus(); unregisterD2DScratchClass(); unregisterMessageFilter(); unregisterArea(); uninitDrawText(); uninitDraw(); CoUninitialize(); if (DeleteObject(hollowBrush) == 0) logLastError(L"error freeing hollow brush"); uninitContainer(); if (DeleteObject(hMessageFont) == 0) logLastError(L"error deleting control font"); unregisterWindowClass(); // no need to delete the default icon or cursor; see http://stackoverflow.com/questions/30603077/ uninitUtilWindow(); uninitAlloc(); }
void uiUninit(void) { uninitMenus(); uninitAlloc(); }