I think you can do:

<pre>
offset = API::Token_Privileges.offset_of(:privileges)
privilege_ptr = FFI::Pointer.new(token_information_buffer + offset)
</pre>