kcella has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to write a wrapper around some third party C++ dll. The problem is that one of the arguments to a function consists of a structure which contains an array of structures. Is there a way to do this with WIN32::API::Struct? I need something like this:

Win32::API::Struct->typedef( 'DIB_HEADER', qw( BITMAPINFOHEADER header; RGBQUAD palette[]; ));