From e31d9c5bcd8f14160764e960e385bde763b9c811 Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Mon, 14 Mar 2022 12:08:51 +0300 Subject: Rename Lesson_Checkbox to Lesson_63 Signed-off-by: Konstantin Aladyshev --- .../DisplayHIIByGuid/DisplayHIIByGuid.c | 75 ---------------------- 1 file changed, 75 deletions(-) delete mode 100644 Lessons/Lesson_Checkbox/UefiLessonsPkg/DisplayHIIByGuid/DisplayHIIByGuid.c (limited to 'Lessons/Lesson_Checkbox/UefiLessonsPkg/DisplayHIIByGuid/DisplayHIIByGuid.c') diff --git a/Lessons/Lesson_Checkbox/UefiLessonsPkg/DisplayHIIByGuid/DisplayHIIByGuid.c b/Lessons/Lesson_Checkbox/UefiLessonsPkg/DisplayHIIByGuid/DisplayHIIByGuid.c deleted file mode 100644 index 7c3c8fa..0000000 --- a/Lessons/Lesson_Checkbox/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