OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
GetVolumeLabel.c File Reference
#include <Uefi.h>
#include <Guid/FileInfo.h>
#include <Guid/FileSystemVolumeLabelInfo.h>
#include <Protocol/SimpleFileSystem.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/BaseOverflowLib.h>
#include <Library/DebugLib.h>
#include <Library/DevicePathLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/OcDevicePathLib.h>
#include <Library/OcFileLib.h>
#include <Library/OcStringLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiLib.h>

Go to the source code of this file.

Functions

CHAR16 * OcGetVolumeLabel (IN EFI_SIMPLE_FILE_SYSTEM_PROTOCOL *FileSystem)
 

Detailed Description

Copyright (C) 2019, vit9696. All rights reserved.

All rights reserved.

This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file GetVolumeLabel.c.

Function Documentation

◆ OcGetVolumeLabel()

CHAR16 * OcGetVolumeLabel ( IN EFI_SIMPLE_FILE_SYSTEM_PROTOCOL * FileSystem)

Retrieves volume label.

Parameters
[in]FileSystemA pointer to the file system protocol of the volume.
Return values
Apointer to the NULL terminated unicode volume label.

Definition at line 35 of file GetVolumeLabel.c.