]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | Provides application point extension for "C" style main function.\r | |
3 | \r | |
4 | Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r | |
5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
6 | \r | |
7 | **/\r | |
8 | \r | |
9 | #ifndef _SHELL_C_ENTRY_LIB_\r | |
10 | #define _SHELL_C_ENTRY_LIB_\r | |
11 | \r | |
12 | /**\r | |
13 | UEFI application entry point which has an interface similar to a\r | |
14 | standard C main function.\r | |
15 | \r | |
16 | The ShellCEntryLib library instance wrappers the actual UEFI application\r | |
17 | entry point and calls this ShellAppMain function.\r | |
18 | \r | |
19 | @param[in] Argc The number of parameters.\r | |
20 | @param[in] Argv The array of pointers to parameters.\r | |
21 | \r | |
22 | @retval 0 The application exited normally.\r | |
23 | @retval Other An error occurred.\r | |
24 | \r | |
25 | **/\r | |
26 | INTN\r | |
27 | EFIAPI\r | |
28 | ShellAppMain (\r | |
29 | IN UINTN Argc,\r | |
30 | IN CHAR16 **Argv\r | |
31 | );\r | |
32 | \r | |
33 | #endif\r |