OpenCore
1.0.4
OpenCore Bootloader
|
#include <Library/DebugLib.h>
Go to the source code of this file.
Functions | |
EFI_STATUS | OcGetFileData (IN EFI_FILE_PROTOCOL *File, IN UINT32 Position, IN UINT32 Size, OUT UINT8 *Buffer) |
EFI_STATUS | OcReadFileSize (IN EFI_SIMPLE_FILE_SYSTEM_PROTOCOL *FileSystem, IN CONST CHAR16 *FilePath, OUT UINT32 *Size) |
This file is part of OpenCanopy, OpenCore GUI.
Copyright (c) 2018-2019, Download-Fritz. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause
Definition in file BmfDummy.c.
EFI_STATUS OcGetFileData | ( | IN EFI_FILE_PROTOCOL * | File, |
IN UINT32 | Position, | ||
IN UINT32 | Size, | ||
OUT UINT8 * | Buffer ) |
Read exact amount of bytes from EFI_FILE_PROTOCOL at specified position.
[in] | File | A pointer to the file protocol. |
[in] | Position | Position to read data from. |
[in] | Size | The size of the data read. |
[out] | Buffer | A pointer to previously allocated buffer to read data to. |
EFI_SUCCESS | on success. |
Definition at line 11 of file BmfDummy.c.
EFI_STATUS OcReadFileSize | ( | IN EFI_SIMPLE_FILE_SYSTEM_PROTOCOL * | FileSystem, |
IN CONST CHAR16 * | FilePath, | ||
OUT UINT32 * | Size ) |
Determine file size if it is less than 4 GB.
[in] | FileSystem | A pointer to the file system protocol of the volume. |
[in] | FilePath | The full path to the file on the device. |
[out] | Size | 32-bit file size. |
EFI_SUCCESS | on success. |
Definition at line 24 of file BmfDummy.c.