TianoCore EDK2 master
|
#include "HexEditor.h"
Go to the source code of this file.
Functions | |
EFI_STATUS | HFileImageInit (VOID) |
EFI_STATUS | HFileImageCleanup (VOID) |
EFI_STATUS | HFileImageBackup (VOID) |
EFI_STATUS | HFileImageRead (IN CONST CHAR16 *FileName, IN BOOLEAN Recover) |
EFI_STATUS | HFileImageSave (IN CHAR16 *FileName) |
Defines FileImage - the view of the file that is visible at any point, as well as the event handlers for editing the file
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FileImage.h.
EFI_STATUS HFileImageBackup | ( | VOID | ) |
Backup function for HFileImage. Only a few fields need to be backup. This is for making the file buffer refresh as few as possible.
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation failed. |
Definition at line 64 of file FileImage.c.
EFI_STATUS HFileImageCleanup | ( | VOID | ) |
Cleanup function for HFileImage.
EFI_SUCCESS | The operation was successful. |
Definition at line 83 of file FileImage.c.
EFI_STATUS HFileImageInit | ( | VOID | ) |
Initialization function for HFileImage
EFI_SUCCESS | The operation was successful. |
Definition at line 38 of file FileImage.c.
EFI_STATUS HFileImageRead | ( | IN CONST CHAR16 * | FileName, |
IN BOOLEAN | Recover | ||
) |
Read a file from disk into HBufferImage.
[in] | FileName | filename to read. |
[in] | Recover | if is for recover, no information print. |
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation failed. |
EFI_LOAD_ERROR | A load error occurred. |
Definition at line 137 of file FileImage.c.
EFI_STATUS HFileImageSave | ( | IN CHAR16 * | FileName | ) |
Save lines in HBufferImage to disk.
[in] | FileName | The file name. |
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation failed. |
EFI_LOAD_ERROR | A load error occurred. |
Definition at line 250 of file FileImage.c.