-Copyright (c) 2005 - 2007, Intel Corporation\r
-All rights reserved. This program and the accompanying materials are licensed and made available\r
+Copyright (c) 2005 - 2015, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed and made available\r
under the terms and conditions of the BSD License which accompanies this\r
distribution. The full text of the license may be found at\r
http://opensource.org/licenses/bsd-license.php\r
under the terms and conditions of the BSD License which accompanies this\r
distribution. The full text of the license may be found at\r
http://opensource.org/licenses/bsd-license.php\r
- return FatAccessOFile (Parent, IoMode, Position, &BufferSize, Entry);\r
+ return FatAccessOFile (Parent, IoMode, Position, &BufferSize, Entry, NULL);\r
// Write LFN directory entry\r
//\r
SetMem (LfnBuffer, sizeof (CHAR16) * LFN_CHAR_TOTAL * EntryCount, 0xff);\r
// Write LFN directory entry\r
//\r
SetMem (LfnBuffer, sizeof (CHAR16) * LFN_CHAR_TOTAL * EntryCount, 0xff);\r
// Fail to get the long file name from long file name entry,\r
// get the file name from short name\r
//\r
// Fail to get the long file name from long file name entry,\r
// get the file name from short name\r
//\r
FileNameLen = StrLen (FileName);\r
if (FileNameLen == 0) {\r
return EFI_INVALID_PARAMETER;\r
FileNameLen = StrLen (FileName);\r
if (FileNameLen == 0) {\r
return EFI_INVALID_PARAMETER;\r