Ignore:
Timestamp:
Nov 29, 2001, 11:58:44 AM (24 years ago)
Author:
phaller
Message:

Parallel Port detection doesn't take OS/2 devices into account

File:
1 edited

Legend:

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

    r7482 r7483  
    1 /* $Id: hmparport.cpp,v 1.12 2001-11-29 10:53:27 phaller Exp $ */
     1/* $Id: hmparport.cpp,v 1.13 2001-11-29 10:58:44 phaller Exp $ */
    22
    33/*
     
    149149 
    150150  // first, we determine the number of parallel port devices available
    151   BYTE  bParallelPorts;
     151  BYTE  bParallelPorts = 9;
     152 
     153#if 0
     154  // Note:
     155  // OSLibDosDevConfig does *NOT* report any OS/2 related information
     156  // about the parallel ports such as LPT redirections or even an
     157  // installed LPT device driver, it appears to just report what the
     158  // BIOS told.
     159 
    152160  DWORD rc = OSLibDosDevConfig(&bParallelPorts,
    153161                               DEVINFO_PRINTER);
     
    160168  // query configuration data from Resource Manager
    161169  // (base i/o ports, etc. for the IOCTL_INTERNAL_GET_xxx)
    162  
     170#endif
    163171 
    164172  VOID *pData;
Note: See TracChangeset for help on using the changeset viewer.