Changeset 10240 for trunk/src/user32/pmwindow.cpp
- Timestamp:
- Aug 22, 2003, 3:16:45 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r10190 r10240 1 /* $Id: pmwindow.cpp,v 1.21 8 2003-07-31 15:56:44sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.219 2003-08-22 13:16:45 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 117 117 // WM_KEYDOWN messages come in properly. 118 118 static BOOL fKeyAltGrDown = FALSE; 119 119 static BOOL fEnableCDPolling = FALSE; 120 120 121 121 static char *PMDragExtractFiles(PDRAGINFO pDragInfo, ULONG *pcItems, ULONG *pulBytes); … … 343 343 { 344 344 fDragDropDisabled = fDisabled; 345 } 346 //****************************************************************************** 347 // Turn on CD Polling (window with 2 second timer to check CD disk presence) 348 // 349 // NOTE: This can cause PM hangs when executing a program for a very long time 350 // (block in IOCtl) 351 //****************************************************************************** 352 void WIN32API CustEnableCDPolling() 353 { 354 fEnableCDPolling = TRUE; 345 355 } 346 356 //****************************************************************************** … … 598 608 599 609 //Create CD notification window 600 if(hwndCD == 0 ) {610 if(hwndCD == 0 && fEnableCDPolling) { 601 611 hwndCD = WinCreateWindow(HWND_DESKTOP, WIN32_CDCLASS, 602 612 NULL, 0, 0, 0, 0, 0,
Note:
See TracChangeset
for help on using the changeset viewer.