# One on the issue of the return win32api

**URL:** <https://www.ruby-forum.com/t/one-on-the-issue-of-the-return-win32api/125089>\
**Category:** Rails\
**Created:** [January 5, 2008, 7:09am UTC](https://www.ruby-forum.com/t/one-on-the-issue-of-the-return-win32api/125089 "2008-01-05T07:09:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [January 5, 2008, 7:09am UTC](https://www.ruby-forum.com/t/one-on-the-issue-of-the-return-win32api/125089/1 "2008-01-05T07:09:05Z")

</div>

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
