TianoCore EDK2
master
Loading...
Searching...
No Matches
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
>
14
#include <
Protocol/ShellParameters.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
//
25
typedef
struct
_EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL
EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL
;
26
40
typedef
41
SHELL_STATUS
42
(EFIAPI *
SHELL_COMMAND_HANDLER
)(
43
IN
EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL
*This,
44
IN
EFI_SYSTEM_TABLE
*SystemTable,
45
IN
EFI_SHELL_PARAMETERS_PROTOCOL
*ShellParameters,
46
IN
EFI_SHELL_PROTOCOL
*Shell
47
);
48
59
typedef
60
CHAR16 *
61
(EFIAPI *
SHELL_COMMAND_GETHELP
)(
62
IN
EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL
*This,
63
IN
CONST
CHAR8 *Language
64
);
65
67
struct
_EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL
{
68
CONST
CHAR16 *CommandName;
69
SHELL_COMMAND_HANDLER
Handler;
70
SHELL_COMMAND_GETHELP
GetHelp;
71
};
72
73
extern
EFI_GUID
gEfiShellDynamicCommandProtocolGuid;
74
75
#endif
CONST
#define CONST
Definition:
Base.h:259
IN
#define IN
Definition:
Base.h:279
Shell.h
SHELL_STATUS
SHELL_STATUS
Definition:
Shell.h:21
SHELL_COMMAND_GETHELP
CHAR16 *(EFIAPI * SHELL_COMMAND_GETHELP)(IN EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL *This, IN CONST CHAR8 *Language)
Definition:
ShellDynamicCommand.h:61
SHELL_COMMAND_HANDLER
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)
Definition:
ShellDynamicCommand.h:42
ShellParameters.h
_EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL
EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL protocol structure.
Definition:
ShellDynamicCommand.h:67
_EFI_SHELL_PARAMETERS_PROTOCOL
Definition:
ShellParameters.h:19
_EFI_SHELL_PROTOCOL
Definition:
Shell.h:1204
EFI_SYSTEM_TABLE
Definition:
UefiSpec.h:2028
GUID
Definition:
Base.h:213
MdePkg
Include
Protocol
ShellDynamicCommand.h
Generated on Fri Nov 15 2024 18:01:16 for TianoCore EDK2 by
1.9.6