Ignore:
Timestamp:
Nov 23, 2001, 7:58:24 PM (24 years ago)
Author:
phaller
Message:

.

File:
1 edited

Legend:

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

    r7439 r7443  
    1 /* $Id: hmparport.cpp,v 1.6 2001-11-23 16:07:19 phaller Exp $ */
     1/* $Id: hmparport.cpp,v 1.7 2001-11-23 18:58:24 phaller Exp $ */
    22
    33/*
     
    1515#include <string.h>
    1616#include <handlemanager.h>
     17#include "handlenames.h"
    1718#include <heapstring.h>
    1819#include <winioctl.h>
     
    150151    HMDeviceRegisterEx("LPT1", this, pData);
    151152 
    152   // @@@PH
    153   // Note: also register \Device\ParallelPort1...
    154   // -> we need the kernel object name space mapping
     153  // add symbolic links to the "real name" of the device
     154  HandleNamesAddSymbolicLink("\\Device\\ParallelPort1", "LPT1");
     155  HandleNamesAddSymbolicLink("\\Device\\ParallelPort2", "LPT2");
     156  HandleNamesAddSymbolicLink("\\Device\\ParallelPort3", "LPT3");
    155157}
    156158
Note: See TracChangeset for help on using the changeset viewer.