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