/* FUNCTIONS ****************************************************************/
+/*
+ * @implemented
+ */
PIMAGE_NT_HEADERS STDCALL
RtlImageNtHeader (IN PVOID BaseAddress)
{
- PIMAGE_NT_HEADERS NtHeader;
- PIMAGE_DOS_HEADER DosHeader = (PIMAGE_DOS_HEADER)BaseAddress;
-
- if (DosHeader && DosHeader->e_magic != IMAGE_DOS_SIGNATURE)
- {
- DPRINT1("DosHeader->e_magic %x\n", DosHeader->e_magic);
- DPRINT1("NtHeader %x\n", (BaseAddress + DosHeader->e_lfanew));
- }
-
-// if (DosHeader && DosHeader->e_magic == IMAGE_DOS_SIGNATURE)
-// {
- NtHeader = (PIMAGE_NT_HEADERS)(BaseAddress + DosHeader->e_lfanew);
- if (NtHeader->Signature == IMAGE_NT_SIGNATURE)
- return NtHeader;
-// }
- return NULL;
+ PIMAGE_NT_HEADERS NtHeader;
+ PIMAGE_DOS_HEADER DosHeader = (PIMAGE_DOS_HEADER)BaseAddress;
+
+ if (DosHeader && DosHeader->e_magic != IMAGE_DOS_SIGNATURE)
+ {
+ DPRINT1("DosHeader->e_magic %x\n", DosHeader->e_magic);
+ DPRINT1("NtHeader %x\n", (BaseAddress + DosHeader->e_lfanew));
+ }
+
+ if (DosHeader && DosHeader->e_magic == IMAGE_DOS_SIGNATURE)
+ {
+ NtHeader = (PIMAGE_NT_HEADERS)(BaseAddress + DosHeader->e_lfanew);
+ if (NtHeader->Signature == IMAGE_NT_SIGNATURE)
+ return NtHeader;
+ }
+
+ return NULL;
}
+/*
+ * @implemented
+ */
PVOID
STDCALL
RtlImageDirectoryEntryToData (
}
+/*
+ * @implemented
+ */
PIMAGE_SECTION_HEADER
STDCALL
RtlImageRvaToSection (
}
+/*
+ * @implemented
+ */
ULONG
STDCALL
RtlImageRvaToVa (