TianoCore EDK2 master
|
#include "HexEditor.h"
Go to the source code of this file.
Functions | |
EFI_STATUS | HFileImageInit (VOID) |
EFI_STATUS | HFileImageBackup (VOID) |
EFI_STATUS | HFileImageCleanup (VOID) |
EFI_STATUS | HFileImageSetFileName (IN CONST CHAR16 *Str) |
EFI_STATUS | HFileImageRead (IN CONST CHAR16 *FileName, IN BOOLEAN Recover) |
EFI_STATUS | HFileImageSave (IN CHAR16 *FileName) |
Functions to deal with file buffer.
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FileImage.c.
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.
EFI_STATUS HFileImageSetFileName | ( | IN CONST CHAR16 * | Str | ) |
Set FileName field in HFileImage
[in] | Str | File name to set. |
EFI_SUCCESS | The operation was successful. |
EFI_OUT_OF_RESOURCES | A memory allocation failed. |
Definition at line 102 of file FileImage.c.
|
extern |
Definition at line 27 of file BufferImage.c.
|
extern |
Definition at line 69 of file BufferImage.c.
|
extern |
Definition at line 62 of file BufferImage.c.
|
extern |
Definition at line 67 of file BufferImage.c.
HEFI_EDITOR_FILE_IMAGE HFileImage |
Definition at line 20 of file FileImage.c.
HEFI_EDITOR_FILE_IMAGE HFileImageBackupVar |
Definition at line 21 of file FileImage.c.
HEFI_EDITOR_BUFFER_IMAGE HFileImageConst |
Definition at line 26 of file FileImage.c.
|
extern |
Definition at line 38 of file MainHexEditor.c.