PEHeaders.GetContainingSectionIndex(Int32) メソッド

定義

PE イメージのセクションで、指定された相対仮想アドレスを含むセクションを検索します。

public:
 int GetContainingSectionIndex(int relativeVirtualAddress);
public int GetContainingSectionIndex(int relativeVirtualAddress);
member this.GetContainingSectionIndex : int -> int
Public Function GetContainingSectionIndex (relativeVirtualAddress As Integer) As Integer

パラメーター

relativeVirtualAddress
Int32

検索する相対仮想アドレス。

返品

relativeVirtualAddressを含むセクションのインデックス。検索が失敗した場合は -1。

適用対象