TianoCore EDK2 master
Loading...
Searching...
No Matches
ShellCEntryLib.h File Reference

Go to the source code of this file.

Functions

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

Detailed Description

Provides application point extension for "C" style main function.

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

Definition in file ShellCEntryLib.h.

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 parameters.
[in]ArgvThe array of pointers to parameters.
Return values
0The application exited normally.
OtherAn error occurred.

Entry point function of this shell application.

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.

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
ArgcArgument count
ArgvThe parsed arguments
Return values
0The application exited normally.
OtherAn error occurred.

Definition at line 602 of file EnrollDefaultKeys.c.