Ignore:
Timestamp:
Nov 1, 1999, 8:11:46 PM (26 years ago)
Author:
sandervl
Message:

Activate + group box fixes + cleanup changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/initterm.cpp

    r1490 r1540  
    1 /* $Id: initterm.cpp,v 1.14 1999-10-28 12:00:34 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.15 1999-11-01 19:11:39 sandervl Exp $ */
    22
    33/*
     
    4949/*-------------------------------------------------------------------*/
    5050static void APIENTRY cleanup(ULONG reason);
    51 static void APIENTRY cleanupQueue(ULONG ulReason);
    5251
    5352extern "C" {
     
    9695         /*******************************************************************/
    9796
    98          rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
    99          if(rc)
    100                 return 0UL;
    101 
    102          rc = DosExitList(0x00008000|EXLST_ADD, cleanupQueue);
     97         rc = DosExitList(0x00008000|EXLST_ADD, cleanup);
    10398         if(rc)
    10499                return 0UL;
     
    135130}
    136131
    137 static void APIENTRY cleanupQueue(ULONG ulReason)
    138 {
    139    CloseSpyQueue();
    140    DosExitList(EXLST_EXIT, cleanupQueue);
    141 }
    142 
    143132static void APIENTRY cleanup(ULONG ulReason)
    144133{
    145134   dprintf(("user32 exit\n"));
     135   DestroyDesktopWindow();
     136   Win32BaseWindow::DestroyAll();
     137   UnregisterSystemClasses();
     138   Win32WndClass::DestroyAll();
    146139   SYSCOLOR_Save();
    147    DestroyDesktopWindow();
    148    UnregisterSystemClasses();
     140   CloseSpyQueue();
    149141   _ctordtorTerm();
    150142   dprintf(("user32 exit done\n"));
     143
    151144   DosExitList(EXLST_EXIT, cleanup);
    152    return ;
    153145}
     146
Note: See TracChangeset for help on using the changeset viewer.