How to create a Win32::API::Struct struct if the struct has union in it?

[email protected] (Burak Gürsoy)
Newsgroups perl.libwin32
Organization http://groups.google.com
Message-ID <[email protected]>
Hi,

I'm wondering about how to create a SYSTEM_INFO structure from Perl:

http://msdn.microsoft.com/en-us/library/windows/desktop/ms724958(v=vs.85).aspx

to pass this to GetNativeSystemInfo(). Win32::API::Struct->typedef()
seems to support
simple structs only. Is there a way to create such a nested struct?
Otherwise, is there any
other way apart from XS?

Thanks,
Burak
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.