TianoCore EDK2 master
Loading...
Searching...
No Matches
FileExplorerDxe.c
Go to the documentation of this file.
1
9#include <PiDxe.h>
10
14#include <Library/DebugLib.h>
16
17EFI_HANDLE mFileExplorerThunkHandle = NULL;
18
19CONST EFI_FILE_EXPLORER_PROTOCOL mFileExplorerProtocol = {
21};
22
36EFIAPI
38 IN EFI_HANDLE ImageHandle,
39 IN EFI_SYSTEM_TABLE *SystemTable
40 )
41{
42 EFI_STATUS Status;
43
44 Status = gBS->InstallMultipleProtocolInterfaces (
45 &mFileExplorerThunkHandle,
46 &gEfiFileExplorerProtocolGuid,
47 &mFileExplorerProtocol,
48 NULL
49 );
50 ASSERT_EFI_ERROR (Status);
51
52 return Status;
53}
EFI_STATUS EFIAPI FileExplorerEntryPoint(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
EFI_STATUS EFIAPI ChooseFile(IN EFI_DEVICE_PATH_PROTOCOL *RootDirectory, IN CHAR16 *FileType OPTIONAL, IN CHOOSE_HANDLER ChooseHandler OPTIONAL, OUT EFI_DEVICE_PATH_PROTOCOL **File OPTIONAL)
#define NULL
Definition: Base.h:319
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define ASSERT_EFI_ERROR(StatusParameter)
Definition: DebugLib.h:462
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
EFI_BOOT_SERVICES * gBS