in reply to win32 DLL from h2xs returns error
You could use XS (perlxs, perlxstut, ...) or Win32::API.