Ignore:
Timestamp:
Jul 12, 2000, 8:21:45 PM (25 years ago)
Author:
sandervl
Message:

PD: added handlemanager support for named & unnamed pipes

File:
1 edited

Legend:

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

    r3804 r3819  
    1 /* $Id: hmfile.cpp,v 1.10 2000-07-06 21:18:42 sandervl Exp $ */
     1/* $Id: hmfile.cpp,v 1.11 2000-07-12 18:21:43 sandervl Exp $ */
    22
    33/*
     
    7070           pHMHandleDataTemplate));
    7171
    72   if (strncmp(lpFileName,       // "support" for local unc names
    73               "\\\\.\\",
    74               4) == 0)
     72  if(strncmp(lpFileName,       // "support" for local unc names
     73             "\\\\.\\",
     74             4) == 0)
    7575  {
    76         lpFileName+=4;
    77   }
     76        // check the named pipes
     77        if (strnicmp("\\\\.\\PIPE",lpFileName,8)==0)
     78                lpFileName+=3;
     79        else
     80                lpFileName+=4;
     81  }
     82
    7883
    7984  // create from template
Note: See TracChangeset for help on using the changeset viewer.