]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Include/Library/ShellCEntryLib.h
Put EOF (End of File) on its own line for all source files. This is required for...
[mirror_edk2.git] / ShellPkg / Include / Library / ShellCEntryLib.h
CommitLineData
322016e5 1/** @file
2 Provides application point extension for "C" style main funciton
3
4Copyright (c) 2006 - 2009, Intel Corporation
5All rights reserved. This program and the accompanying materials
6are licensed and made available under the terms and conditions of the BSD License
7which accompanies this distribution. The full text of the license may be found at
8http://opensource.org/licenses/bsd-license.php
9
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11WITHOUT 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**/
29INTN
30EFIAPI
31ShellAppMain (
32 IN INTN Argc,
33 IN CHAR16 **Argv
34 );