TianoCore EDK2 master
Loading...
Searching...
No Matches
ShellCTestApp.c File Reference
#include <Uefi.h>
#include <Library/UefiLib.h>
#include <Library/DebugLib.h>
#include <Library/ShellCEntryLib.h>

Go to the source code of this file.

Functions

INTN EFIAPI ShellAppMain (IN UINTN Argc, IN CHAR16 **Argv)
 

Detailed Description

This is a test application that demonstrates how to use the C-style entry point for a shell application.

Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file ShellCTestApp.c.

Function Documentation

◆ ShellAppMain()

INTN EFIAPI ShellAppMain ( IN UINTN  Argc,
IN CHAR16 **  Argv 
)

UEFI application entry point which has an interface similar to a standard C main function.

The ShellCEntryLib library instance wrappers the actual UEFI application entry point and calls this ShellAppMain function.

Parameters
[in]ArgcThe number of items in Argv.
[in]ArgvArray of pointers to strings.
Return values
0The application exited normally.
OtherAn error occurred.

Definition at line 31 of file ShellCTestApp.c.