Win32::API::Struct->typedef(MEMORYSTATUSEX { DWORD dwLength; ... #### Win32::API::Struct->typedef(MEMORYSTATUSEX => qw{ DWORD dwLength; ... });