Changeset 7403 for trunk/src


Ignore:
Timestamp:
Nov 20, 2001, 10:53:57 AM (24 years ago)
Author:
sandervl
Message:

destroy cd notification window during dll unload

Location:
trunk/src/user32
Files:
3 edited

Legend:

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

    r7155 r7403  
    1 /* $Id: inituser32.cpp,v 1.6 2001-10-22 23:13:58 phaller Exp $ */
     1/* $Id: inituser32.cpp,v 1.7 2001-11-20 09:53:56 sandervl Exp $ */
    22/*
    33 * USER32 DLL entry point
     
    244244//SvL: Causes PM hangs on some (a lot?) machines. Reason unknown.
    245245////   RestoreCursor();
     246
     247   //Destroy CD notification window
     248   WinDestroyWindow(hwndCD);
    246249   DestroyDesktopWindow();
    247250   Win32BaseWindow::DestroyAll();
  • trunk/src/user32/pmwindow.cpp

    r7294 r7403  
    1 /* $Id: pmwindow.cpp,v 1.164 2001-11-07 15:36:09 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.165 2001-11-20 09:53:56 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    6969static PFNWP pfnFrameWndProc = NULL;
    7070static HWND  hwndFocusChange = 0;
    71 static HWND  hwndCD = 0;
     71      HWND  hwndCD = 0;
    7272
    7373// Note:
     
    247247//******************************************************************************
    248248//CD notification window class
    249 #define TIMERID_DRIVEPOLL       0x1717
    250249//******************************************************************************
    251250MRESULT EXPENTRY Win32CDWindowProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
     
    374373
    375374    case WM_DESTROY:
     375        dprintf(("WM_DESTROY for CD notification window"));
    376376        WinStopTimer(hab, hwnd, TIMERID_DRIVEPOLL);
    377377        break;
  • trunk/src/user32/pmwindow.h

    r7263 r7403  
    1 /* $Id: pmwindow.h,v 1.13 2001-10-29 13:37:01 sandervl Exp $ */
     1/* $Id: pmwindow.h,v 1.14 2001-11-20 09:53:57 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    1515#define WIN32_STDFRAMECLASS "Win32FrameClass"
    1616
     17#define TIMERID_DRIVEPOLL       0x1717
     18
    1719BOOL InitPM();
    1820
     
    2426extern ULONG ScreenBitsPerPel;
    2527extern BOOL  fOS2Look;
     28extern HWND  hwndCD;
    2629
    2730#define TFOS_LEFT                    0x0001
Note: See TracChangeset for help on using the changeset viewer.