Ignore:
Timestamp:
Jun 27, 1999, 6:24:19 PM (26 years ago)
Author:
sandervl
Message:

Message handler updates & bugfixes

File:
1 edited

Legend:

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

    r134 r225  
    1 /* $Id: initterm.cpp,v 1.4 1999-06-20 16:47:39 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.5 1999-06-27 16:23:23 sandervl Exp $ */
    22
    33/*
     
    3535#include <win32type.h>
    3636#include <wndclass.h>
     37#include <spy.h>
    3738
    3839extern "C" {
     
    5960/*-------------------------------------------------------------------*/
    6061static void APIENTRY cleanup(ULONG reason);
     62static void APIENTRY cleanupQueue(ULONG ulReason);
    6163
    6264
     
    105107                return 0UL;
    106108
     109         rc = DosExitList(0x00008000|EXLST_ADD, cleanupQueue);
     110         if(rc)
     111                return 0UL;
     112
    107113         //SvL: 18-7-'98, Register system window classes (button, listbox etc etc)
    108114         RegisterSystemClasses(hModule);
     115
     116         //SvL: Try to start communication with our message spy queue server
     117         InitSpyQueue();
    109118         break;
    110119      case 1 :
     
    120129}
    121130
     131static void APIENTRY cleanupQueue(ULONG ulReason)
     132{
     133   CloseSpyQueue();
     134}
    122135
    123136static void APIENTRY cleanup(ULONG ulReason)
Note: See TracChangeset for help on using the changeset viewer.