VOID Cleanup(VOID) { UnloadAppInitDlls(); DeleteCriticalSection(&U32AccelCacheLock); MenuCleanup(); MessageCleanup(); TlsFree(User32TlsIndex); DeleteFrameBrushes(); }
VOID Cleanup(VOID) { DeleteCriticalSection(&U32AccelCacheLock); MenuCleanup(); MessageCleanup(); DeleteFrameBrushes(); UnloadAppInitDlls(); GdiDllInitialize(NULL, DLL_PROCESS_DETACH, NULL); TlsFree(User32TlsIndex); }