Einzelnen Beitrag anzeigen

sdean

Registriert seit: 5. Dez 2009
64 Beiträge
 
#3

AW: C Structures into Delphi

  Alt 5. Jan 2012, 21:12
many thanks Furtbichler ,
what about this :

Code:
struct image_resource_directory_entry
{
  union
  {
    struct
    {
      unsigned long name_offset : 31;
      unsigned long name_is_string : 1;
    };
    unsigned long name;
    unsigned short id;
  };
  union
  {
    unsigned long offset_to_data;
    struct
    {
      unsigned long offset_to_directory : 31;
      unsigned long data_is_directory : 1;
    };
  };
};
  Mit Zitat antworten Zitat