PEHeaders.TryGetDirectoryOffset(DirectoryEntry, Int32) Metoda

Definicja

Pobiera przesunięcie (w bajtach) od początku obrazu do danych katalogu.

public:
 bool TryGetDirectoryOffset(System::Reflection::PortableExecutable::DirectoryEntry directory, [Runtime::InteropServices::Out] int % offset);
public bool TryGetDirectoryOffset (System.Reflection.PortableExecutable.DirectoryEntry directory, out int offset);
member this.TryGetDirectoryOffset : System.Reflection.PortableExecutable.DirectoryEntry * int -> bool
Public Function TryGetDirectoryOffset (directory As DirectoryEntry, ByRef offset As Integer) As Boolean

Parametry

directory
DirectoryEntry

Wpis katalogu PE.

offset
Int32

Gdy metoda zwraca wartość , zawiera przesunięcie od początku obrazu do danych katalogu.

Zwraca

true w przypadku znalezienia danych katalogu; false Inaczej.

Dotyczy