ShellCEntryLib.h 817 B

123456789101112131415161718192021222324252627282930313233
  1. /** @file
  2. Provides application point extension for "C" style main function.
  3. Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
  4. SPDX-License-Identifier: BSD-2-Clause-Patent
  5. **/
  6. #ifndef _SHELL_C_ENTRY_LIB_
  7. #define _SHELL_C_ENTRY_LIB_
  8. /**
  9. UEFI application entry point which has an interface similar to a
  10. standard C main function.
  11. The ShellCEntryLib library instance wrappers the actual UEFI application
  12. entry point and calls this ShellAppMain function.
  13. @param[in] Argc The number of parameters.
  14. @param[in] Argv The array of pointers to parameters.
  15. @retval 0 The application exited normally.
  16. @retval Other An error occurred.
  17. **/
  18. INTN
  19. EFIAPI
  20. ShellAppMain (
  21. IN UINTN Argc,
  22. IN CHAR16 **Argv
  23. );
  24. #endif