Home
last modified time | relevance | path

Searched refs:ImportDescriptor (Results 1 – 4 of 4) sorted by relevance

/reactos/modules/rostests/apitests/include/
H A Dapitest_iathook.h7 …PIMAGE_IMPORT_DESCRIPTOR ImportDescriptor = RtlImageDirectoryEntryToData((HMODULE)DllBase, TRUE, I… in FindImportDescriptor() local
8 while (ImportDescriptor->Name && ImportDescriptor->OriginalFirstThunk) in FindImportDescriptor()
10 PCHAR Name = (PCHAR)(DllBase + ImportDescriptor->Name); in FindImportDescriptor()
13 return ImportDescriptor; in FindImportDescriptor()
15 ImportDescriptor++; in FindImportDescriptor()
23 PIMAGE_IMPORT_DESCRIPTOR ImportDescriptor = FindImportDescriptor(DllBase, DllName); in RedirectIat() local
24 if (ImportDescriptor) in RedirectIat()
27 …PIMAGE_THUNK_DATA OriginalThunk = (PIMAGE_THUNK_DATA)(DllBase + ImportDescriptor->OriginalFirstThu… in RedirectIat()
29 PIMAGE_THUNK_DATA FirstThunk = (PIMAGE_THUNK_DATA)(DllBase + ImportDescriptor->FirstThunk); in RedirectIat()
/reactos/dll/ntdll/ldr/
H A Dverifier.c132 PIMAGE_IMPORT_DESCRIPTOR ImportDescriptor; in AVrfpSnapDllImports() local
135ImportDescriptor = RtlImageDirectoryEntryToData(DllBase, TRUE, IMAGE_DIRECTORY_ENTRY_IMPORT, &Size… in AVrfpSnapDllImports()
136 if (!ImportDescriptor) in AVrfpSnapDllImports()
142 for (; ImportDescriptor->Name && ImportDescriptor->OriginalFirstThunk; ImportDescriptor++) in AVrfpSnapDllImports()
148 FirstThunk = (PIMAGE_THUNK_DATA)(DllBase + ImportDescriptor->FirstThunk); in AVrfpSnapDllImports()
/reactos/ntoskrnl/mm/ARM3/
H A Dsysldr.c672 PIMAGE_IMPORT_DESCRIPTOR ImportDescriptor; in MiUpdateThunks() local
714 if (!ImportDescriptor) continue; in MiUpdateThunks()
718 while ((ImportDescriptor->Name) && in MiUpdateThunks()
740 ImportDescriptor++; in MiUpdateThunks()
1077 for (CurrentImport = ImportDescriptor; in MiResolveImageReferences()
1109 while ((ImportDescriptor->Name) && (ImportDescriptor->OriginalFirstThunk)) in MiResolveImageReferences()
1380 ImportDescriptor++; in MiResolveImageReferences()
1932 PIMAGE_IMPORT_DESCRIPTOR ImportDescriptor; in MiBuildImportsForBootDrivers() local
2015 if (!ImportDescriptor) in MiBuildImportsForBootDrivers()
2033 while ((ImportDescriptor->Name) && in MiBuildImportsForBootDrivers()
[all …]
/reactos/dll/appcompat/apphelp/
H A Dshimeng.c375 … SeiFindHookModuleInfoForImportDescriptor(PBYTE DllBase, PIMAGE_IMPORT_DESCRIPTOR ImportDescriptor) in SeiFindHookModuleInfoForImportDescriptor() argument
381 if (!RtlCreateUnicodeStringFromAsciiz(&DllName, (PCSZ)(DllBase + ImportDescriptor->Name))) in SeiFindHookModuleInfoForImportDescriptor()
961 PIMAGE_IMPORT_DESCRIPTOR ImportDescriptor; in SeiHookImports() local
978ImportDescriptor = RtlImageDirectoryEntryToData(DllBase, TRUE, IMAGE_DIRECTORY_ENTRY_IMPORT, &Size… in SeiHookImports()
979 if (!ImportDescriptor) in SeiHookImports()
987 for ( ;ImportDescriptor->Name && ImportDescriptor->OriginalFirstThunk; ImportDescriptor++) in SeiHookImports()
992 HookModuleInfo = SeiFindHookModuleInfoForImportDescriptor(DllBase, ImportDescriptor); in SeiHookImports()
1010 OriginalThunk = (PIMAGE_THUNK_DATA)(DllBase + ImportDescriptor->OriginalFirstThunk); in SeiHookImports()
1011 FirstThunk = (PIMAGE_THUNK_DATA)(DllBase + ImportDescriptor->FirstThunk); in SeiHookImports()