diff options
author | Mattiwatti <mattiwatti@gmail.com> | 2019-05-06 19:15:42 +0200 |
---|---|---|
committer | Mattiwatti <mattiwatti@gmail.com> | 2019-05-06 19:15:42 +0200 |
commit | 6dc5189d11d3e5690ee61e85c25e6aa5308a0264 (patch) | |
tree | 9e4fc99aee9faa65c614dedbc38daecc338b8dab /EfiGuardDxe/pe.h | |
parent | 363621d0a00e89af5e3a68f34242999f04355042 (diff) |
Minor fixes
Diffstat (limited to 'EfiGuardDxe/pe.h')
-rw-r--r-- | EfiGuardDxe/pe.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/EfiGuardDxe/pe.h b/EfiGuardDxe/pe.h index 8c5f41c..cf47119 100644 --- a/EfiGuardDxe/pe.h +++ b/EfiGuardDxe/pe.h @@ -178,14 +178,14 @@ typedef struct _VS_VERSIONINFO PEFI_IMAGE_NT_HEADERS EFIAPI RtlpImageNtHeaderEx( - IN VOID* Base, + IN CONST VOID* Base, IN UINTN Size OPTIONAL ); INPUT_FILETYPE EFIAPI GetInputFileType( - IN UINT8 *ImageBase, + IN CONST UINT8 *ImageBase, IN UINTN ImageSize ); @@ -200,7 +200,7 @@ EFIAPI GetProcedureAddress( IN UINTN DllBase, IN PEFI_IMAGE_NT_HEADERS NtHeaders, - IN CHAR8* RoutineName + IN CONST CHAR8* RoutineName ); EFI_STATUS @@ -223,7 +223,7 @@ RvaToOffset( VOID* EFIAPI RtlpImageDirectoryEntryToDataEx( - IN VOID* Base, + IN CONST VOID* Base, IN BOOLEAN MappedAsImage, IN UINT16 DirectoryEntry, OUT UINT32 *Size @@ -232,7 +232,7 @@ RtlpImageDirectoryEntryToDataEx( EFI_STATUS EFIAPI FindResourceDataById( - IN VOID* ImageBase, + IN CONST VOID* ImageBase, IN UINT16 TypeId, IN UINT16 NameId, IN UINT16 LanguageId OPTIONAL, @@ -243,7 +243,7 @@ FindResourceDataById( EFI_STATUS EFIAPI GetPeFileVersionInfo( - IN VOID* ImageBase, + IN CONST VOID* ImageBase, OUT UINT16* MajorVersion OPTIONAL, OUT UINT16* MinorVersion OPTIONAL, OUT UINT16* BuildNumber OPTIONAL, |