Exemple #1
0
        public int GetIndex(string name)
        {
            IntPtr ptr = Marshal.StringToHGlobalAnsi(name);

            return(SoundNativeMethods.SoundCardGetIndex(ptr));
        }