Hi group,

I can't seem to find a way to get this chunk of code working. I've been hacking a Perl script which is meant to catch the audio data from a microphone. I need a bit of help with Win32::API and winmm.dll as well.

#!/perl

use strict;
use Win32::API;

Win32::API->Import(winmm => q{
        LRESULT waveInGetDevCaps(
        UINT_PTR DeviceID,
        LPWAVEINCAPS pwic,
        UINT cbwic
)}
);

.. and this is what I get

Win32::API::parse_prototype: WARNING unknown parameter type 'LPWAVEINCAPS' at C:

Is that actually a lack of Win32::API? I haven't the faintest idea how to go about it.

regards,

Larry



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to