Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

IMAGE_THUNK_DATA (Structures)
 
.
Summary
An imported function inside the import directory of the PE header.

C# Definition:

  [StructLayout(LayoutKind.Explicit)]
  public struct IMAGE_THUNK_DATA
  public struct IMAGE_THUNK_DATA32
  {
      [FieldOffset(0)]
      public IntPtr ForwarderString;

      public uint ForwarderString;

      [FieldOffset(0)]
      public IntPtr Function;

      public uint Function;

      [FieldOffset(0)]
      public IntPtr Ordinal;

      public uint Ordinal;

      [FieldOffset(0)]
      public IntPtr AddressOfData;
      public uint AddressOfData;
  }

  [StructLayout(LayoutKind.Explicit)]
  public struct IMAGE_THUNK_DATA64
    {
      [FieldOffset(0)]
      public ulong ForwarderString;

      [FieldOffset(0)]
      public ulong Function;

      [FieldOffset(0)]
      public ulong Ordinal;

      [FieldOffset(0)]
      public ulong AddressOfData;
  }

VB Definition:

  <StructLayout(LayoutKind.Explicit)>
  Public Structure IMAGE_THUNK_DATA32
      <FieldOffset(0)>
      Public ForwarderString As UInteger

      <FieldOffset(0)>
      Public [Function] As UInteger

      <FieldOffset(0)>
      Public Ordinal As UInteger

      <FieldOffset(0)>
      Public AddressOfData As UInteger
  End Structure

  <StructLayout(LayoutKind.Explicit)>
  Public Structure IMAGE_THUNK_DATA64
      <FieldOffset(0)>
      Public ForwarderString As ULong

      <FieldOffset(0)>
      Public [Function] As ULong

      <FieldOffset(0)>
      Public Ordinal As ULong

      <FieldOffset(0)>
      Public AddressOfData As ULong
  End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions