]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - ShellPkg/Include/Library/ShellCEntryLib.h
Refine some code to make code run safely.
[mirror_edk2.git] / ShellPkg / Include / Library / ShellCEntryLib.h
... / ...
CommitLineData
1/** @file\r
2 Provides application point extension for "C" style main funciton\r
3\r
4 Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
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
9\r
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
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
29INTN\r
30EFIAPI\r
31ShellAppMain (\r
32 IN UINTN Argc,\r
33 IN CHAR16 **Argv\r
34 );\r