Changeset 2802 for trunk/src/kernel32/hmcomm.cpp
- Timestamp:
- Feb 16, 2000, 3:25:43 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/hmcomm.cpp
r1858 r2802 1 /* $Id: hmcomm.cpp,v 1. 3 1999-11-27 12:48:26 achimhaExp $ */1 /* $Id: hmcomm.cpp,v 1.4 2000-02-16 14:23:58 sandervl Exp $ */ 2 2 3 3 /* … … 18 18 #include "oslibdos.h" 19 19 20 #define DBG_LOCALLOG DBG_hmcomm 21 #include "dbglocal.h" 22 20 23 21 24 HMDeviceCommClass::HMDeviceCommClass(LPCSTR lpDeviceName) : HMDeviceHandler(lpDeviceName) … … 26 29 HMDeviceRegister("COM3", this); 27 30 HMDeviceRegister("COM4", this); 28 31 HMDeviceRegister("COM5", this); 32 HMDeviceRegister("COM6", this); 33 HMDeviceRegister("COM7", this); 34 HMDeviceRegister("COM8", this); 29 35 } 30 36 … … 41 47 42 48 //AH: TODO parse Win32 security handles 49 OSLibDosDisableHardError(TRUE); 43 50 pHMHandleData->hHMHandle = OSLibDosOpen((char*)lpFileName, 44 51 OSLIB_ACCESS_READWRITE | 45 52 OSLIB_ACCESS_SHAREDENYREAD | 46 53 OSLIB_ACCESS_SHAREDENYWRITE); 54 OSLibDosDisableHardError(FALSE); 47 55 if (pHMHandleData->hHMHandle != 0) 48 56 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.