Win32 API 日本語リファレンス
ホームSystem.SystemServices › IMAGE_DOS_HEADER

IMAGE_DOS_HEADER

構造体
サイズx64: 64 バイト / x86: 64 バイトパッキング2

サイズ=各フィールドのバイト数(x64/x86 で異なる場合は x64/x86 と併記)。x64/x86 列=フィールドのバイトオフセット(HSPで dupptr / lpoke / wpoke 等に使用)。

フィールド

フィールドサイズx64x86
e_magicWORD2+0+0
e_cblpWORD2+2+2
e_cpWORD2+4+4
e_crlcWORD2+6+6
e_cparhdrWORD2+8+8
e_minallocWORD2+10+10
e_maxallocWORD2+12+12
e_ssWORD2+14+14
e_spWORD2+16+16
e_csumWORD2+18+18
e_ipWORD2+20+20
e_csWORD2+22+22
e_lfarlcWORD2+24+24
e_ovnoWORD2+26+26
e_resWORD8+28+28
e_oemidWORD2+36+36
e_oeminfoWORD2+38+38
e_res2WORD20+40+40
e_lfanewINT4+60+60