Ignore:
Timestamp:
Dec 3, 2002, 12:29:27 PM (23 years ago)
Author:
sandervl
Message:

CreateFile/OpenFile: convert file name to long if in hashed 8.3 format

File:
1 edited

Legend:

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

    r8685 r9453  
    1 /* $Id: hmfile.cpp,v 1.35 2002-06-15 17:14:52 sandervl Exp $ */
     1/* $Id: hmfile.cpp,v 1.36 2002-12-03 11:29:27 sandervl Exp $ */
    22
    33/*
     
    7373 
    7474  ParsePath(lpFileName, filepath, sizeof(filepath));
     75
     76  //convert to long file name if in 8.3 hashed format
     77  GetLongPathNameA(filepath, filepath, sizeof(filepath));
    7578  lpFileName = filepath;
    7679
     
    193196    else {
    194197        ParsePath(lpFileName, filepath, sizeof(filepath));
     198
     199        //convert to long file name if in 8.3 hashed format
     200        GetLongPathNameA(filepath, filepath, sizeof(filepath));
     201
    195202        lpFileName = filepath;
    196203    }
Note: See TracChangeset for help on using the changeset viewer.