]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Include/Library/ShellCEntryLib.h
udk2010.up2.shell initial release.
[mirror_edk2.git] / ShellPkg / Include / Library / ShellCEntryLib.h
CommitLineData
94c5492c 1/** @file\r
a405b86d 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
a405b86d 22 @param[in] Argc The number of parameters.\r
23 @param[in] Argv The array of pointers to parameters.\r
94c5492c 24\r
25 @retval 0 The application exited normally.\r
26 @retval Other An error occurred.\r
27\r
28**/\r
29INTN\r
1e6e84c7 30EFIAPI\r
94c5492c 31ShellAppMain (\r
1e6e84c7 32 IN UINTN Argc,\r
94c5492c 33 IN CHAR16 **Argv\r
34 );\r