Reference

ImageDirectoryEntryToDataEx(3w)

NAME

ImageDirectoryEntryToDataEx (DBGHELP.@)

SYNOPSIS

PVOID ImageDirectoryEntryToDataEx
(
PVOID base,
BOOLEAN image,
USHORT dir,
PULONG size,
PIMAGE_SECTION_HEADER* section
)

DESCRIPTION

Search for specified directory in PE image.

PARAMS

base [In] Image base address.

image [In] TRUE - image has been loaded by loader, FALSE - raw file image.

dir [In] Target directory index.

size [Out] Receives directory size.

section [Out] Receives pointer to section header of section containing directory data.

RETURNS

Success: pointer to directory data

Failure: NULL

IMPLEMENTATION

Declared in "dbghelp.h".

Implemented in "dlls/dbghelp/pe_module.c".

Debug channel "dbghelp".

History