Platform SDK: Debugging and Error Handling

IMAGE_DATA_DIRECTORY

The IMAGE_DATA_DIRECTORY structure represents the data directory.

typedef struct _IMAGE_DATA_DIRECTORY {
    DWORD   VirtualAddress;
    DWORD   Size;
} IMAGE_DATA_DIRECTORY, *PIMAGE_DATA_DIRECTORY;

Members

VirtualAddress
The relative virtual address of the table.
Size
The size of the table, in bytes.

Remarks

The following is a list of the data directories:

Offset Description
96 Export table address and size
104 Import table address and size
112 Resource table address and size
120 Exception table address and size
128 Certificate table address and size
136 Base relocation table address and size
144 Debugging information starting address and size
152 Architecture-specific data address and size
160 Global pointer register relative virtual address
168 Thread local storage (TLS) table address and size
176 Load configuration table address and size
184 Bound import table address and size
192 Import address table address and size
200 Delay import descriptor address and size
208 Reserved

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in Winnt.h; include Windows.h.

See Also

Image Help Library Overview, ImageHlp Structures, IMAGE_OPTIONAL_HEADER