LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

waveout dll help

hey
 
i am trying to query the windows API to discover the capabilities of a soundcard. i understand this has to be done using the Call Library Function, but i cannot seem to get it to work.
 
the function i am after is waveOutDevCaps
 
 
i have attached my effort so far, but cannot get it to return any information, i presume this is to do with my attempt at providing a Struct pointer using a cluster. is this the way to go about it?
 
thanks
0 Kudos
Message 1 of 3
(2,962 Views)

You must set the cbwoc to the size in bytes of your structure!

also you cant use a LV string in the cluster

I attach an old vi for waveInGetDevCaps that works

 

Message 2 of 3
(2,955 Views)
thanks, that is exactly what i was after
0 Kudos
Message 3 of 3
(2,939 Views)