Structure IMAGE_DOS_HEADER
e_magic As Short Magic number(=0x5A4D)
e_cblp As Short 最終ページのバイト数
e_cp As Short ファイルのページ数
e_crlc As Short リロケートする項目数
e_cparhdr As Short ヘッダの大きさ(16バイト・パラグラフ)
e_minalloc As Short ロードされたプログラムの後ろに最小限必要な16バイト・パラグラフ
e_maxalloc As Short ロードされたプログラムの後ろに最大限必要な16バイト・パラグラフ
e_ss As Short ロードされたプログラムのスタック・セグメントのオフセット
e_sp As Short SPレジスタに設定される値
e_csum As Short ファイル内のワード単位によるネガティブ・サム
e_ip As Short IPレジスタに設定される値
e_cs As Short ロードされたプログラムのコード・セグメントのオフセット
e_lfarlc As Short 最初のリロケーション項目のオフセット
e_onvo As Short オーバレイ番号
e_res(3) As Short 予約済み
e_oemid As Short OEMのID
e_oeminfo As Short e_oemidの情報
e_res2(9) As Short 予約済み
e_lfanew As Integer New EXEヘッダーのファイルアドレス
End Structure
|