]>
Commit | Line | Data |
---|---|---|
878ddf1f | 1 | /** @file\r |
2 | Memory Only PE COFF loader\r | |
3 | \r | |
4 | Copyright (c) 2006, Intel Corporation \r | |
5 | All rights reserved. This program and the accompanying materials \r | |
6 | are licensed and made available under the terms and conditions of the BSD License \r | |
7 | which accompanies this distribution. The full text of the license may be found at \r | |
8 | http://opensource.org/licenses/bsd-license.php \r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
12 | \r | |
13 | Module Name: PeCoffGetEntryPointLib.h\r | |
14 | \r | |
15 | **/\r | |
16 | \r | |
17 | #ifndef __PE_COFF_GET_ENTRY_POINT_LIB_H__\r | |
18 | #define __PE_COFF_GET_ENTRY_POINT_LIB_H__\r | |
19 | \r | |
20 | /**\r | |
21 | Loads a PE/COFF image into memory\r | |
22 | \r | |
23 | @param Pe32Data Pointer to a PE/COFF Image\r | |
24 | \r | |
25 | @param EntryPoint Pointer to the entry point of the PE/COFF image\r | |
26 | \r | |
27 | @retval EFI_SUCCESS if the EntryPoint was returned\r | |
28 | @retval EFI_INVALID_PARAMETER if the EntryPoint could not be found from Pe32Data\r | |
29 | \r | |
30 | **/\r | |
31 | RETURN_STATUS\r | |
32 | EFIAPI\r | |
33 | PeCoffLoaderGetEntryPoint (\r | |
34 | IN VOID *Pe32Data,\r | |
35 | IN OUT VOID **EntryPoint\r | |
36 | )\r | |
37 | ;\r | |
38 | \r | |
39 | #endif\r |