]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Include/Library/ShellCEntryLib.h
Add LegacyRegion 2 protocol definition in MdePkg
[mirror_edk2.git] / ShellPkg / Include / Library / ShellCEntryLib.h
index 762c95b598184d286e377cfa43c832b9328a2ea0..9f5969cf357c8d9b7d1a6cc807513db3bcee2e42 100644 (file)
@@ -13,20 +13,22 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 **/\r
 \r
 /**\r
-  Intermediate entry point for the application that will in turn call into the "C" \r
-  style main function.\r
-\r
-  this application must have a function like:\r
-  INT32 \r
-  EFIAPI \r
-  main(\r
-    UINTN Argc, \r
-    CHAR16 **Argv\r
-  );\r
+  UEFI application entry point which has an interface similar to a\r
+  standard C main function.\r
+\r
+  The ShellCEntryLib library instance wrappers the actual UEFI application\r
+  entry point and calls this ShellAppMain function.\r
+\r
+  @param  ImageHandle  The image handle of the UEFI Application.\r
+  @param  SystemTable  A pointer to the EFI System Table.\r
+\r
+  @retval  0               The application exited normally.\r
+  @retval  Other           An error occurred.\r
+\r
 **/\r
-EFI_STATUS\r
-EFIAPI\r
-ShellCEntry(\r
-  IN EFI_HANDLE        ImageHandle,\r
-  IN EFI_SYSTEM_TABLE  *SystemTable\r
-  );
\ No newline at end of file
+INTN\r
+EFIAPI \r
+ShellAppMain (\r
+  IN UINTN Argc, \r
+  IN CHAR16 **Argv\r
+  );\r