예제 #1
0
파일: init.c 프로젝트: mantyr/libui
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();
}
예제 #2
0
파일: main.c 프로젝트: Geekbruce/libui
void uiUninit(void)
{
	uninitMenus();
	uninitTypes();
	uninitAlloc();
}