]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - ShellPkg/Include/Library/ShellCEntryLib.h
add comments to function declarations and definitions and updated to match coding...
[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 - 2011, 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#ifndef _SHELL_C_ENTRY_LIB_\r
16#define _SHELL_C_ENTRY_LIB_\r
17\r
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
25 @param[in] Argc The number of parameters.\r
26 @param[in] Argv The array of pointers to parameters.\r
27\r
28 @retval 0 The application exited normally.\r
29 @retval Other An error occurred.\r
30\r
31**/\r
32INTN\r
33EFIAPI\r
34ShellAppMain (\r
35 IN UINTN Argc,\r
36 IN CHAR16 **Argv\r
37 );\r
38\r
39#endif\r
40\r