94c5492c |
1 | /** @file\r |
1e6e84c7 |
2 | Provides application point extension for "C" style main funciton\r |
94c5492c |
3 | \r |
3a888f2a |
4 | Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r |
1e6e84c7 |
5 | This program and the accompanying materials\r |
6 | are licensed and made available under the terms and conditions of the BSD License\r |
7 | which accompanies this distribution. The full text of the license may be found at\r |
8 | http://opensource.org/licenses/bsd-license.php\r |
94c5492c |
9 | \r |
1e6e84c7 |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r |
94c5492c |
12 | \r |
13 | **/\r |
14 | \r |
15 | /**\r |
16 | UEFI application entry point which has an interface similar to a\r |
17 | standard C main function.\r |
18 | \r |
19 | The ShellCEntryLib library instance wrappers the actual UEFI application\r |
20 | entry point and calls this ShellAppMain function.\r |
21 | \r |
22 | @param ImageHandle The image handle of the UEFI Application.\r |
23 | @param SystemTable A pointer to the EFI System Table.\r |
24 | \r |
25 | @retval 0 The application exited normally.\r |
26 | @retval Other An error occurred.\r |
27 | \r |
28 | **/\r |
29 | INTN\r |
1e6e84c7 |
30 | EFIAPI\r |
94c5492c |
31 | ShellAppMain (\r |
1e6e84c7 |
32 | IN UINTN Argc,\r |
94c5492c |
33 | IN CHAR16 **Argv\r |
34 | );\r |