/// <summary>The mixerGetDevCaps function queries a specified mixer device to determine its capabilities</summary> /// <param name="uMxId">Identifier or handle of an open mixer device</param> /// <param name="pmxcaps">Pointer to a MIXERCAPS structure that receives information about the capabilities of the device</param> /// <param name="cbmxcaps">Size, in bytes, of the MIXERCAPS structure</param> [DllImport("winmm.dll", CharSet = CharSet.Ansi)] public static extern int mixerGetDevCapsA(int uMxId, MixerCaps pmxcaps, int cbmxcaps);
public static extern int MixerGetDevCaps(int mixerId, ref MixerCaps mixerCaps, int mixerCapsSize);