One on the issue of the return win32api

hello,all:

The code below:
return = Win32API.new("my.dll", "myfunction", "PI", "P").call(params)

The return value is a type C-Structure
For example,
struct person{
  int age;
  char* name;
}

In the process of ruby,I how to get the return value