diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-22 02:48:55 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-22 02:48:55 +0000 |
commit | c0cf06d6dacbed7b64e4f0fd2383e5b552ed1aba (patch) | |
tree | 5c4f35fb1024316cec8746bd3895687399d49006 /Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.h | |
parent | b0b961c8f9aad0c82a94123947048d2ed6610133 (diff) | |
download | edk2-platforms-c0cf06d6dacbed7b64e4f0fd2383e5b552ed1aba.tar.xz |
Use UEFI EFI_FILE_PROTOCOL to replace EFI_FILE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9300 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.h')
-rw-r--r-- | Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.h b/Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.h index 691868a8ba..50db9a5506 100644 --- a/Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.h +++ b/Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.h @@ -1,6 +1,6 @@ /**@file
-Copyright (c) 2006, Intel Corporation
+Copyright (c) 2006 - 2009, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -58,7 +58,7 @@ typedef struct { UINTN Signature;
EFI_WIN_NT_THUNK_PROTOCOL *WinNtThunk;
EFI_SIMPLE_FILE_SYSTEM_PROTOCOL *SimpleFileSystem;
- EFI_FILE EfiFile;
+ EFI_FILE_PROTOCOL EfiFile;
HANDLE LHandle;
HANDLE DirHandle;
BOOLEAN IsRootDirectory;
@@ -197,7 +197,7 @@ EFI_STATUS EFIAPI
WinNtSimpleFileSystemOpenVolume (
IN EFI_SIMPLE_FILE_SYSTEM_PROTOCOL *This,
- OUT EFI_FILE **Root
+ OUT EFI_FILE_PROTOCOL **Root
)
/*++
@@ -235,11 +235,11 @@ Returns: EFI_STATUS
EFIAPI
WinNtSimpleFileSystemOpen (
- IN EFI_FILE *This,
- OUT EFI_FILE **NewHandle,
- IN CHAR16 *FileName,
- IN UINT64 OpenMode,
- IN UINT64 Attributes
+ IN EFI_FILE_PROTOCOL *This,
+ OUT EFI_FILE_PROTOCOL **NewHandle,
+ IN CHAR16 *FileName,
+ IN UINT64 OpenMode,
+ IN UINT64 Attributes
)
/*++
@@ -287,7 +287,7 @@ Returns: EFI_STATUS
EFIAPI
WinNtSimpleFileSystemClose (
- IN EFI_FILE *This
+ IN EFI_FILE_PROTOCOL *This
)
/*++
@@ -309,7 +309,7 @@ Returns: EFI_STATUS
EFIAPI
WinNtSimpleFileSystemDelete (
- IN EFI_FILE *This
+ IN EFI_FILE_PROTOCOL *This
)
/*++
@@ -333,9 +333,9 @@ Returns: EFI_STATUS
EFIAPI
WinNtSimpleFileSystemRead (
- IN EFI_FILE *This,
- IN OUT UINTN *BufferSize,
- OUT VOID *Buffer
+ IN EFI_FILE_PROTOCOL *This,
+ IN OUT UINTN *BufferSize,
+ OUT VOID *Buffer
)
/*++
@@ -370,9 +370,9 @@ Returns: EFI_STATUS
EFIAPI
WinNtSimpleFileSystemWrite (
- IN EFI_FILE *This,
- IN OUT UINTN *BufferSize,
- IN VOID *Buffer
+ IN EFI_FILE_PROTOCOL *This,
+ IN OUT UINTN *BufferSize,
+ IN VOID *Buffer
)
/*++
@@ -413,8 +413,8 @@ Returns: EFI_STATUS
EFIAPI
WinNtSimpleFileSystemSetPosition (
- IN EFI_FILE *This,
- IN UINT64 Position
+ IN EFI_FILE_PROTOCOL *This,
+ IN UINT64 Position
)
/*++
@@ -440,8 +440,8 @@ Returns: EFI_STATUS
EFIAPI
WinNtSimpleFileSystemGetPosition (
- IN EFI_FILE *This,
- OUT UINT64 *Position
+ IN EFI_FILE_PROTOCOL *This,
+ OUT UINT64 *Position
)
/*++
@@ -467,10 +467,10 @@ Returns: EFI_STATUS
EFIAPI
WinNtSimpleFileSystemGetInfo (
- IN EFI_FILE *This,
- IN EFI_GUID *InformationType,
- IN OUT UINTN *BufferSize,
- OUT VOID *Buffer
+ IN EFI_FILE_PROTOCOL *This,
+ IN EFI_GUID *InformationType,
+ IN OUT UINTN *BufferSize,
+ OUT VOID *Buffer
)
/*++
@@ -510,10 +510,10 @@ Returns: EFI_STATUS
EFIAPI
WinNtSimpleFileSystemSetInfo (
- IN EFI_FILE *This,
- IN EFI_GUID *InformationType,
- IN UINTN BufferSize,
- IN VOID *Buffer
+ IN EFI_FILE_PROTOCOL *This,
+ IN EFI_GUID *InformationType,
+ IN UINTN BufferSize,
+ IN VOID *Buffer
)
/*++
@@ -557,7 +557,7 @@ Returns: EFI_STATUS
EFIAPI
WinNtSimpleFileSystemFlush (
- IN EFI_FILE *This
+ IN EFI_FILE_PROTOCOL *This
)
/*++
|