TianoCore EDK2 master
ShellDynamicCommand.h
Go to the documentation of this file.
1
10#ifndef __EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL_H__
11#define __EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL_H__
12
13#include <Protocol/Shell.h>
15
16// {3C7200E9-005F-4EA4-87DE-A3DFAC8A27C3}
17#define EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL_GUID \
18 { \
19 0x3c7200e9, 0x005f, 0x4ea4, { 0x87, 0xde, 0xa3, 0xdf, 0xac, 0x8a, 0x27, 0xc3 } \
20 }
21
22//
23// Define for forward reference.
24//
26
40typedef
42(EFIAPI *SHELL_COMMAND_HANDLER)(
44 IN EFI_SYSTEM_TABLE *SystemTable,
45 IN EFI_SHELL_PARAMETERS_PROTOCOL *ShellParameters,
47 );
48
59typedef
60CHAR16 *
61(EFIAPI *SHELL_COMMAND_GETHELP)(
63 IN CONST CHAR8 *Language
64 );
65
68 CONST CHAR16 *CommandName;
71};
72
73extern EFI_GUID gEfiShellDynamicCommandProtocolGuid;
74
75#endif
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
SHELL_STATUS
Definition: Shell.h:21
CHAR16 *(EFIAPI * SHELL_COMMAND_GETHELP)(IN EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL *This, IN CONST CHAR8 *Language)
SHELL_STATUS(EFIAPI * SHELL_COMMAND_HANDLER)(IN EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL *This, IN EFI_SYSTEM_TABLE *SystemTable, IN EFI_SHELL_PARAMETERS_PROTOCOL *ShellParameters, IN EFI_SHELL_PROTOCOL *Shell)
EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL protocol structure.
Definition: Base.h:213