in reply to Win32::API missing types
It turns out that for the package to work, the datastructure as well as the function (basically all the code I posted) needs to be written inside the function that I call in the package...I'd like to know why this is the case, though :-p
Its probably because you haven't shown your code :)