/*++\r
\r
-Copyright (c) 2005 - 2007, Intel Corporation\r
+Copyright (c) 2005 - 2009, Intel Corporation\r
All rights reserved. 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
\r
IFile->Signature = FAT_IFILE_SIGNATURE;\r
\r
- CopyMem (&(IFile->Handle), &FatFileInterface, sizeof (EFI_FILE));\r
+ CopyMem (&(IFile->Handle), &FatFileInterface, sizeof (EFI_FILE_PROTOCOL));\r
\r
IFile->OFile = OFile;\r
InsertTailList (&OFile->Opens, &IFile->Link);\r
EFI_STATUS\r
EFIAPI\r
FatOpen (\r
- IN EFI_FILE *FHand,\r
- OUT EFI_FILE **NewHandle,\r
- IN CHAR16 *FileName,\r
- IN UINT64 OpenMode,\r
- IN UINT64 Attributes\r
+ IN EFI_FILE_PROTOCOL *FHand,\r
+ OUT EFI_FILE_PROTOCOL **NewHandle,\r
+ IN CHAR16 *FileName,\r
+ IN UINT64 OpenMode,\r
+ IN UINT64 Attributes\r
)\r
/*++\r
Routine Description:\r