MIXERLINE Struct - Windows API

Purpose



Declaration

C#

[StructLayout(LayoutKind.Sequential)]
private struct MIXERLINE
{
	public int cbStruct;
	public int dwDestination;
	public int dwSource;
	public int dwLineID;
	public int fdwLine;
	public int dwUser;
	public int dwComponentType;
	public int cChannels;
	public int cConnections;
	public int cControls;
	[MarshalAs(UnmanagedType.ByValTStr, SizeConst = MIXER_SHORT_NAME_CHARS)]
	public string szShortName;
	[MarshalAs(UnmanagedType.ByValTStr, SizeConst = MIXER_LONG_NAME_CHARS)]
	public string szName;
	public int dwType;
	public int dwDeviceID;
	public short wMid;
	public short wPid;
	public int vDriverVersion;
	[MarshalAs(UnmanagedType.ByValTStr, SizeConst = MAXPNAMELEN)]
	public string szPname;
}