Ignore:
Timestamp:
Nov 29, 2001, 1:20:48 AM (24 years ago)
Author:
phaller
Message:

added NUL device

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/HandleManager.cpp

    r7474 r7476  
    1 /* $Id: HandleManager.cpp,v 1.79 2001-11-28 23:33:34 phaller Exp $ */
     1/* $Id: HandleManager.cpp,v 1.80 2001-11-29 00:20:45 phaller Exp $ */
    22
    33/*
     
    6060#include "HMComm.h"
    6161#include "HMParPort.h"
     62#include "HMNul.h"
    6263#include "HMToken.h"
    6364#include "HMThread.h"
     
    148149  HMDeviceHandler        *pHMMailslot;
    149150  HMDeviceHandler        *pHMParPort;              /* parallel communication */
     151  HMDeviceHandler        *pHMNul;                              /* nul device */
    150152
    151153  ULONG         ulHandleLast;                   /* index of last used handle */
     
    488490    HMGlobals.pHMMailslot   = new HMMailslotClass("\\MAILSLOT\\");
    489491    HMGlobals.pHMParPort    = new HMDeviceParPortClass("\\\\LPT\\");
     492    HMGlobals.pHMNul        = new HMDeviceNulClass("\\\\NUL\\");
    490493  }
    491494  return (NO_ERROR);
     
    537540  if(HMGlobals.pHMParPort)
    538541    delete HMGlobals.pHMParPort;
     542  if(HMGlobals.pHMNul)
     543    delete HMGlobals.pHMNul;
    539544
    540545  return (NO_ERROR);
Note: See TracChangeset for help on using the changeset viewer.