Searched refs:PeSectionAlignment (Results 1 – 1 of 1) sorted by relevance
1394 DWORD PeSectionAlignment, PeFileAlignment, PeSizeOfImage; in write_raw_resources() local1433 PeSectionAlignment = nt64->OptionalHeader.SectionAlignment; in write_raw_resources()1437 PeSectionAlignment = nt->OptionalHeader.SectionAlignment; in write_raw_resources()1442 if ((LONG)PeSectionAlignment <= 0) in write_raw_resources()1444 ERR("invalid section alignment %08x\n", PeSectionAlignment); in write_raw_resources()1492 … DWORD virtual_section_size = res_size.total_size + (-res_size.total_size) % PeSectionAlignment; in write_raw_resources()1495 (sec->Misc.VirtualSize + (-sec->Misc.VirtualSize) % PeSectionAlignment); in write_raw_resources()