Changeset 10064 for trunk/src/kernel32/HandleManager.cpp
- Timestamp:
- May 5, 2003, 12:51:05 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/HandleManager.cpp
r10010 r10064 1 /* $Id: HandleManager.cpp,v 1. 99 2003-04-11 12:08:34 sandervl Exp $ */1 /* $Id: HandleManager.cpp,v 1.100 2003-05-05 10:51:04 sandervl Exp $ */ 2 2 3 3 /* … … 137 137 HMDeviceHandler *pHMEvent; /* static instances of subsystems */ 138 138 HMDeviceHandler *pHMFile; 139 HMDeviceHandler *pHMInfoFile; 139 140 HMDeviceHandler *pHMDisk; 140 141 HMDeviceHandler *pHMMutex; … … 490 491 HMGlobals.pHMEvent = new HMDeviceEventClass("\\\\EVENT\\"); 491 492 HMGlobals.pHMFile = new HMDeviceFileClass("\\\\FILE\\"); 493 HMGlobals.pHMInfoFile = new HMDeviceInfoFileClass("\\\\INFOFILE\\"); 492 494 HMGlobals.pHMDisk = new HMDeviceDiskClass("\\\\DISK\\"); 493 495 HMGlobals.pHMMutex = new HMDeviceMutexClass("\\\\MUTEX\\"); … … 528 530 if(HMGlobals.pHMFile) 529 531 delete HMGlobals.pHMFile; 532 if(HMGlobals.pHMInfoFile) 533 delete HMGlobals.pHMInfoFile; 530 534 if(HMGlobals.pHMMutex) 531 535 delete HMGlobals.pHMMutex; … … 1069 1073 1070 1074 if(pDeviceHandler == HMGlobals.pHMOpen32) { 1071 pDeviceHandler = HMGlobals.pHMFile; 1075 if(dwDesiredAccess == 0) { 1076 pDeviceHandler = HMGlobals.pHMInfoFile; 1077 } 1078 else pDeviceHandler = HMGlobals.pHMFile; 1072 1079 } 1073 1080 }
Note:
See TracChangeset
for help on using the changeset viewer.