@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: Get the number of wave devices present. !!!!C# Signature: [DllImport("winmm.dll", SetLastError=true)] static extern uint waveOutGetNumDevs(); !!!!VB Signature: Declare Auto Function waveOutGetNumDevs Lib "winmm.dll" () As Integer !!!!User-Defined Types: None. !!!!Alternative Managed API: Do you know one? Please contribute it! !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Calling waveOutGetNumDevs() from Powershell: $pinvokeCode = @" using System; using System.Runtime.InteropServices; namespace NSMain { class wave { [DllImport("winmm.dll", SetLastError=true)] public static extern uint waveOutGetNumDevs(); } public class Wave { public static string waveOutGetNumDevs() { System.Console.Write(wave.waveOutGetNumDevs()); return ""; } } } "@ Add-Type $pinvokeCode [NSMain.Wave]::waveOutGetNumDevs() Documentation: waveOutGetNumDevs@msdn on MSDN
Edit winmm.waveOutGetN...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.