Retrieves the capabilities of a specified waveform-audio output device.
public bool GetWaveOutInfo(uint Index, ref TWaveOutInfo Info);
Parameters |
Description |
uint Index |
Index of wave out device. Call EnumerateWaveOut to get number of wave out devices. |
ref TWaveOutInfo Info |
Reference to TWaveOutInfo. User must allocate memory for this structure. |
Return Values |
Description |
True |
All OK. |
False |
Error. To get error message read here. |
TWaveOutInfo WaveOutInfo = new TWaveOutInfo(); int WaveOutNum = player.EnumerateWaveOut(); uint i; for (i = 0; i < WaveOutNum; i++) { if (player.GetWaveOutInfo(i, ref WaveOutInfo)) { MessageBox.Show(WaveOutInfo.ProductName ); } }
Copyright (c) 2010. Zoran Cindori - All rights reserved.
Web: http://libzplay.sourceforge.net/ Email: zcindori@inet.hr |