]>
Commit | Line | Data |
---|---|---|
94c5492c | 1 | /** @file\r |
268d3445 | 2 | Provides application point extension for "C" style main function.\r |
94c5492c | 3 | \r |
4bbdc0e1 | 4 | Copyright (c) 2006 - 2011, 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 | |
a1d4bfcc | 15 | #ifndef _SHELL_C_ENTRY_LIB_\r |
4bbdc0e1 | 16 | #define _SHELL_C_ENTRY_LIB_\r |
17 | \r | |
94c5492c | 18 | /**\r |
19 | UEFI application entry point which has an interface similar to a\r | |
20 | standard C main function.\r | |
21 | \r | |
22 | The ShellCEntryLib library instance wrappers the actual UEFI application\r | |
23 | entry point and calls this ShellAppMain function.\r | |
24 | \r | |
a405b86d | 25 | @param[in] Argc The number of parameters.\r |
26 | @param[in] Argv The array of pointers to parameters.\r | |
94c5492c | 27 | \r |
28 | @retval 0 The application exited normally.\r | |
29 | @retval Other An error occurred.\r | |
30 | \r | |
31 | **/\r | |
32 | INTN\r | |
1e6e84c7 | 33 | EFIAPI\r |
94c5492c | 34 | ShellAppMain (\r |
1e6e84c7 | 35 | IN UINTN Argc,\r |
94c5492c | 36 | IN CHAR16 **Argv\r |
37 | );\r | |
4bbdc0e1 | 38 | \r |
39 | #endif\r | |
40 | \r |