]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/SimpleTextIn.h
Code have been checked with spec
[mirror_edk2.git] / MdePkg / Include / Protocol / SimpleTextIn.h
index 30905072cc5dc7c40d44e36f74d35b25be89671b..67786cefe9a7e84e5f6424630f0c282364407450 100644 (file)
     0x387477c1, 0x69c7, 0x11d2, {0x8e, 0x39, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \\r
   }\r
 \r
+typedef struct _EFI_SIMPLE_TEXT_INPUT_PROTOCOL  EFI_SIMPLE_TEXT_INPUT_PROTOCOL;\r
+\r
 ///\r
-/// Protocol GUID defined in EFI1.1.\r
+/// Protocol GUID name defined in EFI1.1.\r
 /// \r
 #define SIMPLE_INPUT_PROTOCOL   EFI_SIMPLE_TEXT_INPUT_PROTOCOL_GUID\r
 \r
-typedef struct _EFI_SIMPLE_TEXT_INPUT_PROTOCOL  EFI_SIMPLE_TEXT_INPUT_PROTOCOL;\r
-\r
 ///\r
-/// Backward-compatible with EFI1.1.\r
+/// Protocol name in EFI1.1 for backward-compatible.\r
 /// \r
 typedef struct _EFI_SIMPLE_TEXT_INPUT_PROTOCOL  SIMPLE_INPUT_INTERFACE;\r
-//\r
-// Data structures\r
-//\r
+\r
+///\r
+/// The keystroke information for the key that was pressed.\r
+///\r
 typedef struct {\r
   UINT16  ScanCode;\r
   CHAR16  UnicodeChar;\r
@@ -118,25 +119,16 @@ EFI_STATUS
   OUT EFI_INPUT_KEY                       *Key\r
   );\r
 \r
-/**  \r
-  @par Protocol Description:\r
-  The EFI_SIMPLE_TEXT_INPUT_PROTOCOL is used on the ConsoleIn device. \r
-  It is the minimum required protocol for ConsoleIn.\r
-\r
-  @param Reset\r
-  Reset the ConsoleIn device.\r
-\r
-  @param ReadKeyStroke\r
-  Returns the next input character.\r
-\r
-  @param WaitForKey\r
-  Event to use with WaitForEvent() to wait for a key to be available.\r
-\r
-**/\r
-\r
+///\r
+/// The EFI_SIMPLE_TEXT_INPUT_PROTOCOL is used on the ConsoleIn device. \r
+/// It is the minimum required protocol for ConsoleIn.\r
+///\r
 struct _EFI_SIMPLE_TEXT_INPUT_PROTOCOL {\r
   EFI_INPUT_RESET     Reset;\r
   EFI_INPUT_READ_KEY  ReadKeyStroke;\r
+  ///\r
+  /// Event to use with WaitForEvent() to wait for a key to be available\r
+  ///\r
   EFI_EVENT           WaitForKey;\r
 };\r
 \r