+++ /dev/null
-/*++\r
-\r
-Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. The full text of the license may be found at \r
-http://opensource.org/licenses/bsd-license.php \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
-\r
-Module Name:\r
-\r
- NtLoadAsDll.h\r
-\r
-Abstract:\r
-\r
- Nt service Ppi that is used to load PE32s in the NT emulation environment.\r
-\r
---*/\r
-\r
-#ifndef _NT_LOAD_AS_DLL_H_\r
-#define _NT_LOAD_AS_DLL_H_\r
-\r
-#include "Tiano.h"\r
-\r
-#define EFI_NT_LOAD_AS_DLL_PPI_GUID \\r
- { \\r
- 0xccc53f6b, 0xa03a, 0x4ed8, {0x83, 0x9a, 0x3, 0xd9, 0x9c, 0x2, 0xb4, 0xe3} \\r
- }\r
-\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_NT_LOAD_AS_DLL) (\r
- IN CHAR8 *PdbFileName,\r
- IN VOID **ImageEntryPoint,\r
- OUT VOID **ModHandle\r
- );\r
-\r
-/*++\r
-\r
-Routine Description:\r
- Loads the .DLL file is present when a PE/COFF file is loaded. This provides source level\r
- debugging for drivers that have cooresponding .DLL files on the local system.\r
-\r
-Arguments:\r
- PdbFileName - The name of the .PDB file. This was found from the PE/COFF\r
- file's debug directory entry.\r
- ImageEntryPoint - A pointer to the DLL entry point of the .DLL file was loaded.\r
-\r
-Returns:\r
- EFI_SUCCESS - The .DLL file was loaded, and the DLL entry point is returned in ImageEntryPoint\r
- EFI_NOT_FOUND - The .DLL file could not be found\r
- EFI_UNSUPPORTED - The .DLL file was loaded, but the entry point to the .DLL file could not\r
- determined.\r
-\r
---*/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_NT_FREE_LIBRARY) (\r
- IN VOID *ModHandle\r
- );\r
-\r
-/*++\r
-\r
-Routine Description:\r
- Free resources allocated by Entry (). ModHandle was returned by\r
- Entry ().\r
-\r
-Arguments:\r
- MohHandle - Handle of the resources to free to undo the work.\r
-\r
-Returns:\r
- EFI_SUCCESS - \r
-\r
---*/\r
-typedef struct {\r
- EFI_NT_LOAD_AS_DLL Entry;\r
- EFI_NT_FREE_LIBRARY FreeLibrary;\r
-} EFI_NT_LOAD_AS_DLL_PPI;\r
-\r
-extern EFI_GUID gEfiNtLoadAsDllPpiGuid;\r
-\r
-#endif\r