Home
last modified time | relevance | path

Searched refs:IMAGE_NT_HEADERS32 (Results 1 – 18 of 18) sorted by relevance

/reactos/dll/win32/imagehlp/
H A Dintegrity.c52 static int IMAGEHLP_GetNTHeaders(HANDLE handle, DWORD *pe_offset, IMAGE_NT_HEADERS32 *nt32, IMAGE_N… in IMAGEHLP_GetNTHeaders()
94 r = ReadFile(handle, nt32, sizeof(IMAGE_NT_HEADERS32), &count, NULL); in IMAGEHLP_GetNTHeaders()
99 if (count != sizeof(IMAGE_NT_HEADERS32)) in IMAGEHLP_GetNTHeaders()
149 IMAGE_NT_HEADERS32 nt_hdr32; in IMAGEHLP_GetSecurityDirOffset()
180 IMAGE_NT_HEADERS32 nt_hdr32; in IMAGEHLP_SetSecurityDirOffset()
196 nt_hdr_size = sizeof(IMAGE_NT_HEADERS32); in IMAGEHLP_SetSecurityDirOffset()
298 IMAGE_NT_HEADERS32 nt_hdr32; in IMAGEHLP_RecalculateChecksum()
316 nt_hdr_size = sizeof(IMAGE_NT_HEADERS32); in IMAGEHLP_RecalculateChecksum()
/reactos/modules/rostests/apitests/apphelp/
H A Ddata.c36 static IMAGE_NT_HEADERS32 nt_header =
495 …((IMAGE_NT_HEADERS32*)cur)->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_EXPORT].VirtualAddr… in test_create_exe_imp()
496 …((IMAGE_NT_HEADERS32*)cur)->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_RESOURCE].VirtualAd… in test_create_exe_imp()
/reactos/drivers/filesystems/udfs/Include/
H A Dntddk_ex.h185 } IMAGE_NT_HEADERS32, *PIMAGE_NT_HEADERS32; typedef
186 typedef IMAGE_NT_HEADERS32 IMAGE_NT_HEADERS;
/reactos/sdk/include/host/
H A Dpecoff.h185 } IMAGE_NT_HEADERS32, *PIMAGE_NT_HEADERS32; typedef
198 typedef IMAGE_NT_HEADERS32 IMAGE_NT_HEADERS;
/reactos/drivers/storage/ide/uniata/
H A Dntddk_ex.h613 } IMAGE_NT_HEADERS32, *PIMAGE_NT_HEADERS32; typedef
614 typedef IMAGE_NT_HEADERS32 IMAGE_NT_HEADERS;
/reactos/sdk/include/ddk/
H A Dntimage.h403 } IMAGE_NT_HEADERS32; typedef
408 typedef IMAGE_NT_HEADERS32 IMAGE_NT_HEADERS;
/reactos/modules/rostests/winetests/ntdll/
H A Dgenerated.c986 TEST_TYPE_SIZE (IMAGE_NT_HEADERS32, 248) in test_pack_IMAGE_NT_HEADERS32()
987 TEST_TYPE_ALIGN (IMAGE_NT_HEADERS32, 4) in test_pack_IMAGE_NT_HEADERS32()
988 TEST_FIELD_SIZE (IMAGE_NT_HEADERS32, Signature, 4) in test_pack_IMAGE_NT_HEADERS32()
989 TEST_FIELD_ALIGN (IMAGE_NT_HEADERS32, Signature, 4) in test_pack_IMAGE_NT_HEADERS32()
990 TEST_FIELD_OFFSET(IMAGE_NT_HEADERS32, Signature, 0) in test_pack_IMAGE_NT_HEADERS32()
992 TEST_FIELD_ALIGN (IMAGE_NT_HEADERS32, FileHeader, 4) in test_pack_IMAGE_NT_HEADERS32()
993 TEST_FIELD_OFFSET(IMAGE_NT_HEADERS32, FileHeader, 4) in test_pack_IMAGE_NT_HEADERS32()
4403 TEST_TYPE_SIZE (IMAGE_NT_HEADERS32, 248) in test_pack_IMAGE_NT_HEADERS32()
4404 TEST_TYPE_ALIGN (IMAGE_NT_HEADERS32, 4) in test_pack_IMAGE_NT_HEADERS32()
4405 TEST_FIELD_SIZE (IMAGE_NT_HEADERS32, Signature, 4) in test_pack_IMAGE_NT_HEADERS32()
[all …]
/reactos/modules/rostests/winetests/imagehlp/
H A Dimage.c68 IMAGE_NT_HEADERS32 nt_headers;
70 char __alignment2[FILE_TEXT - FILE_PE_START - sizeof(IMAGE_NT_HEADERS32) -
/reactos/ntoskrnl/mm/
H A Dsection.c162 C_ASSERT(sizeof(IMAGE_NT_HEADERS32) <= sizeof(IMAGE_NT_HEADERS64));
164 C_ASSERT(TYPE_ALIGNMENT(IMAGE_NT_HEADERS32) == TYPE_ALIGNMENT(IMAGE_NT_HEADERS64));
165 C_ASSERT(RTL_SIZEOF_THROUGH_FIELD(IMAGE_NT_HEADERS32, FileHeader) == RTL_SIZEOF_THROUGH_FIELD(IMAGE…
166 C_ASSERT(FIELD_OFFSET(IMAGE_NT_HEADERS32, OptionalHeader) == FIELD_OFFSET(IMAGE_NT_HEADERS64, Optio…
304 const IMAGE_NT_HEADERS32 * pinhNtHeader; in PeFmtCreateSection()
369 (UINT_PTR)pinhNtHeader % TYPE_ALIGNMENT(IMAGE_NT_HEADERS32) != 0) in PeFmtCreateSection()
399 if(cbReadSize < RTL_SIZEOF_THROUGH_FIELD(IMAGE_NT_HEADERS32, FileHeader)) in PeFmtCreateSection()
405 if((UINT_PTR)pinhNtHeader % TYPE_ALIGNMENT(IMAGE_NT_HEADERS32) != 0) in PeFmtCreateSection()
407 ASSERT((UINT_PTR)pBuffer % TYPE_ALIGNMENT(IMAGE_NT_HEADERS32) == 0); in PeFmtCreateSection()
437 …ng32(&cbOptHeaderOffsetSize, pidhDosHeader->e_lfanew, FIELD_OFFSET(IMAGE_NT_HEADERS32, OptionalHea… in PeFmtCreateSection()
[all …]
/reactos/dll/win32/kernel32/wine/
H A Dres.c839 const IMAGE_NT_HEADERS32 *nt; in check_pe_exe()
858 nt = (IMAGE_NT_HEADERS32 *)get_nt_header( base, mapping_size ); in check_pe_exe()
1389 IMAGE_NT_HEADERS32 *nt; in write_raw_resources()
1427 nt = (IMAGE_NT_HEADERS32*)get_nt_header( write_map->base, write_map->size ); in write_raw_resources()
1512 nt = (IMAGE_NT_HEADERS32*)get_nt_header( write_map->base, mapping_size ); in write_raw_resources()
1549 nt = (IMAGE_NT_HEADERS32*)get_nt_header( write_map->base, mapping_size ); in write_raw_resources()
/reactos/modules/rostests/winetests/wintrust/
H A Dsoftpub.c673 IMAGE_NT_HEADERS32 nt_headers;
675 char __alignment2[FILE_TEXT - FILE_PE_START - sizeof(IMAGE_NT_HEADERS32) -
1173 {{ SelfSignedFile32, sizeof(IMAGE_DOS_HEADER) + sizeof(IMAGE_NT_HEADERS32) * 2 }}, in test_wintrust_digest()
/reactos/dll/win32/wintrust/
H A Dsoftpub.c241 IMAGE_NT_HEADERS32 nt32; in SOFTPUB_HashPEFile()
266 if (!ret || bytes_read < FIELD_OFFSET(IMAGE_NT_HEADERS32, OptionalHeader.Magic) + in SOFTPUB_HashPEFile()
278 … checksum = dos_header.e_lfanew + FIELD_OFFSET(IMAGE_NT_HEADERS32, OptionalHeader.CheckSum); in SOFTPUB_HashPEFile()
279 …security_dir = dos_header.e_lfanew + FIELD_OFFSET(IMAGE_NT_HEADERS32, OptionalHeader.DataDirectory… in SOFTPUB_HashPEFile()
/reactos/dll/win32/dbghelp/
H A Dpe_module.c954 const IMAGE_NT_HEADERS32 *nt32 = (const IMAGE_NT_HEADERS32 *)nt; in ImageDirectoryEntryToDataEx()
/reactos/modules/rostests/apitests/ntdll/
H A DNtMapViewOfSection.c1174 IMAGE_NT_HEADERS32 nthdrs;
1496 IMAGE_NT_HEADERS32 nthdrs;
/reactos/dll/win32/version/
H A Dversion.c264 IMAGE_NT_HEADERS32 nt32; in find_pe_resource()
308 …len = FIELD_OFFSET( IMAGE_NT_HEADERS32, OptionalHeader ) + pehd.nt32.FileHeader.SizeOfOptionalHead… in find_pe_resource()
/reactos/modules/rostests/winetests/kernel32/
H A Dloader.c356 const IMAGE_NT_HEADERS32 *nt32 = (const IMAGE_NT_HEADERS32 *)nt_header; in query_image_section()
540 …if (((const IMAGE_NT_HEADERS32 *)nt_header)->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_CO… in map_image_section()
1215 IMAGE_NT_HEADERS32 nt32; in test_Loader()
/reactos/modules/rostests/winetests/fusion/
H A Dasmcache.c201 IMAGE_NT_HEADERS32 nthdrs;
/reactos/sdk/include/xdk/
H A Dwinnt_old.h3161 } IMAGE_NT_HEADERS32, *PIMAGE_NT_HEADERS32; typedef
3177 typedef IMAGE_NT_HEADERS32 IMAGE_NT_HEADERS;