OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
Info.c File Reference
#include "NTFS.h"
#include "Helper.h"

Go to the source code of this file.

Functions

STATIC EFI_STATUS GetLabel (IN CONST EFI_FS *FileSystem, IN OUT CHAR16 **Label)
 
EFI_STATUS EFIAPI FileGetInfo (IN EFI_FILE_PROTOCOL *This, IN EFI_GUID *Type, IN OUT UINTN *Len, OUT VOID *Data)
 
EFI_STATUS EFIAPI FileSetInfo (IN EFI_FILE_PROTOCOL *This, IN EFI_GUID *InformationType, IN UINTN BufferSize, IN VOID *Buffer)
 

Detailed Description

Copyright (c) 2022, Mikhail Krichanov. All rights reserved. SPDX-License-Identifier: BSD-3-Clause

Functional and structural descriptions follow NTFS Documentation by Richard Russon and Yuval Fledel

Definition in file Info.c.

Function Documentation

◆ FileGetInfo()

EFI_STATUS EFIAPI FileGetInfo ( IN EFI_FILE_PROTOCOL * This,
IN EFI_GUID * Type,
IN OUT UINTN * Len,
OUT VOID * Data )

Returns file info, system info, or the label of a volume depending on information type specified.

Parameters
ThisPointer to this instance of file protocol
TypePointer to information type requested
LenPointer to size of buffer
DataPointer to buffer for returned info
Return values
EFI_STATUSStatus of the operation

Definition at line 104 of file Info.c.

◆ FileSetInfo()

EFI_STATUS EFIAPI FileSetInfo ( IN EFI_FILE_PROTOCOL * This,
IN EFI_GUID * InformationType,
IN UINTN BufferSize,
IN VOID * Buffer )

Definition at line 243 of file Info.c.

◆ GetLabel()

STATIC EFI_STATUS GetLabel ( IN CONST EFI_FS * FileSystem,
IN OUT CHAR16 ** Label )

Definition at line 14 of file Info.c.