From 0a8228bc8d94b0cd2af6cf8f13ffd42bcbf2c63e Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Mon, 14 Mar 2022 12:14:12 +0300 Subject: Drop obsolete sources from Lesson_63 Signed-off-by: Konstantin Aladyshev --- .../DisplayHIIByGuid/DisplayHIIByGuid.c | 75 ---------------------- 1 file changed, 75 deletions(-) delete mode 100644 Lessons/Lesson_63/UefiLessonsPkg/DisplayHIIByGuid/DisplayHIIByGuid.c (limited to 'Lessons/Lesson_63/UefiLessonsPkg/DisplayHIIByGuid/DisplayHIIByGuid.c') diff --git a/Lessons/Lesson_63/UefiLessonsPkg/DisplayHIIByGuid/DisplayHIIByGuid.c b/Lessons/Lesson_63/UefiLessonsPkg/DisplayHIIByGuid/DisplayHIIByGuid.c deleted file mode 100644 index 7c3c8fa..0000000 --- a/Lessons/Lesson_63/UefiLessonsPkg/DisplayHIIByGuid/DisplayHIIByGuid.c +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (c) 2021, Konstantin Aladyshev - * - * SPDX-License-Identifier: MIT - */ - -#include -#include - -#include -#include -#include - -INTN -EFIAPI -ShellAppMain ( - IN UINTN Argc, - IN CHAR16 **Argv - ) -{ - if (Argc <=1) { - Print(L"Usage:\n"); - Print(L" DisplayHIIByGuid [ [ [...]]]\n"); - return EFI_INVALID_PARAMETER; - } - - GUID* Guids = (GUID*)AllocatePool(sizeof(GUID)*(Argc-1)); - - for (UINTN i=1; iLocateProtocol(&gEfiFormBrowser2ProtocolGuid, NULL, (VOID**)&FormBrowser2); - if (EFI_ERROR(Status)) { - return Status; - } - - Status = FormBrowser2->SendForm ( - FormBrowser2, - Handle, - 1, - NULL, - 0, - NULL, - NULL - ); - -*/ - FreePool(Handle); - FreePool(Guids); - - return EFI_SUCCESS; -} -- cgit v1.2.3-18-g5258