Ignore:
Timestamp:
Feb 16, 2000, 3:25:43 PM (26 years ago)
Author:
sandervl
Message:

Added new logging feature

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 achimha Exp $ */
     1/* $Id: hmcomm.cpp,v 1.4 2000-02-16 14:23:58 sandervl Exp $ */
    22
    33/*
     
    1818#include "oslibdos.h"
    1919
     20#define DBG_LOCALLOG    DBG_hmcomm
     21#include "dbglocal.h"
     22
    2023
    2124HMDeviceCommClass::HMDeviceCommClass(LPCSTR lpDeviceName) : HMDeviceHandler(lpDeviceName)
     
    2629  HMDeviceRegister("COM3", this);
    2730  HMDeviceRegister("COM4", this);
    28 
     31  HMDeviceRegister("COM5", this);
     32  HMDeviceRegister("COM6", this);
     33  HMDeviceRegister("COM7", this);
     34  HMDeviceRegister("COM8", this);
    2935}
    3036
     
    4147
    4248  //AH: TODO parse Win32 security handles   
     49  OSLibDosDisableHardError(TRUE);
    4350  pHMHandleData->hHMHandle = OSLibDosOpen((char*)lpFileName,
    4451                                          OSLIB_ACCESS_READWRITE |
    4552                                          OSLIB_ACCESS_SHAREDENYREAD |
    4653                                          OSLIB_ACCESS_SHAREDENYWRITE);
     54  OSLibDosDisableHardError(FALSE);
    4755  if (pHMHandleData->hHMHandle != 0)
    4856    return 0;
Note: See TracChangeset for help on using the changeset viewer.