Desktop Functions: Smart Device Functions:
|
Search Results for "WAVEOUTCAPS" in [All]Structures1: WAVEOUTCAPS
winmm"WAVEOUTCAPS" [http://msdn2.microsoft.com/en-us/library/ms713743(d=printer).aspx]
public static extern uint waveOutGetDevCaps(IntPtr hwo,ref WAVEOUTCAPS pwoc,uint cbwoc);
Declare Auto Function waveOutGetDevCaps Lib "winmm.dll" (ByVal uDeviceID as Integer, ByRef lpCaps As WAVEOUTCAPS, _
VB.NET 2005 - Use the following structure: WAVEOUTCAPS
Public Structure WAVEOUTCAPS
public struct WAVEOUTCAPS
Dim wc As New WAVEOUTCAPS
public struct WAVEOUTCAPS
public static WAVEOUTCAPS[] GetDevCapsPlayback()
WAVEOUTCAPS[] list = new WAVEOUTCAPS[waveOutDevicesCount];
WAVEOUTCAPS waveOutCaps = new WAVEOUTCAPS();
waveOutGetDevCaps(uDeviceID, ref waveOutCaps, Marshal.SizeOf(typeof(WAVEOUTCAPS)));
System.Diagnostics.Debug.WriteLine("\n" + waveOutCaps.ToString());
list[uDeviceID] = waveOutCaps;
public static extern uint waveOutGetDevCaps(int hwo, ref WAVEOUTCAPS pwoc, /*uint*/ int cbwoc); |