summaryrefslogtreecommitdiff
path: root/ShellPkg/Include/Library/ShellCEntryLib.h
blob: 136fd0ec72b064401a96838ebb9838504c2d2efa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/** @file
  Provides application point extension for "C" style main funciton 

Copyright (c) 2006 - 2009, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution.  The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

**/

/**
  Intermediate entry point for the application that will in turn call into the "C" 
  style main function.

  this application must have a function defined as follows:
  INT32 
  EFIAPI 
  main(
    UINTN Argc, 
    CHAR16 **Argv
  );
**/
EFI_STATUS
EFIAPI
ShellCEntry(
  IN EFI_HANDLE        ImageHandle,
  IN EFI_SYSTEM_TABLE  *SystemTable
  );