I'm trying to make a win32 api list for VB.NET. I started getting the parameters of the procedures, and by its prefixes (for example, ByVal dwThing As Long -> ByVal dwThing As UInteger) translated into VB.NET. At this point, all Ok (more or less). The problem comes when I have to get the return value of the functions (I'm basing my project in VB6 API declarations, and this language doesn't recognize unsigned types and I can't see a float or double in the file). Then I want to get the function name and return value of some dlls (if could be with the procedure parameters better, because I see the real value for those). For example,
BOOL Beep(DWORD dwFreq, DWORD dwDuration); (extracted from MSDN, this could be got with the kernel32.dll library)
This could be done?
Thanks in advance.
What I have tried:
I have tried with dumpbin.exe, but it doesn't get (or I don't know how to do it) the return values. I only want the functions (with parameters and return value) or subs (with parameters) to compare results and set them to the list.