[interfacekit] Re: BPropertyInfo - value_info

You've done a really nice bit of research on this, Marc.  Keep it up! =)

e

>Some updated information about the flattened BPropertyInfo layout for 
people
>who are interested ^_^.
>
>The header contains flags, not a version
>
>flattened header
>
>4              count
>4              flags
>
>0x1 : property_info structs are present
>0x2 : value_info structs are present
>
>flattened value_info chunks are appended at the end as follows
>
>a small header
>4              count
>
>for every value_info
>2              kind
>4              value
>x              name
>x              usage
>4              extra_data
>
>where x is strlen + 1 of course.
>
>Value info structs are used to publish information about non-Be types 
and
>scripting commands btw.
>
>I tested my code against the Be implementation, and the flattened data
>matches.
>
>Marc Flerackers (mflerackers@xxxxxxxxxx)
>Software Engineer
>ANDROME NV
>WetenschapsPark 4
>B-3590 Diepenbeek - Belgium
>Phone:+32(0)11-301330 Fax:+32(0)11-301331
>
>

Necessity is the plea for every infringement of human freedom. It is the 
argument of tyrants; it is the creed of slaves.
        -William Pitt, British prime-minister (1759-1806)


Other related posts: