change these in your WIN32API.INC
Code:
TYPE MIXERLINE cbStruct AS DWORD 'size of MIXERLINE structure dwDestination AS DWORD 'zero based destination index dwSource AS DWORD 'zero based source index (if source) dwLineID AS DWORD 'unique line id for mixer device fdwLine AS DWORD 'state/information about line dwUser AS DWORD 'driver specific information dwComponentType AS DWORD 'component type line connects to cChannels AS DWORD 'number of channels line supports cConnections AS DWORD 'number of connections (possible) cControls AS DWORD 'number of controls at this line szShortName AS ASCIIZ * %MIXER_SHORT_NAME_CHARS szName AS ASCIIZ * %MIXER_LONG_NAME_CHARS 'lpTarget AS Target ' Patrice 'END TYPE ' Patrice dwType AS DWORD ' Patrice dwDeviceID AS DWORD ' Patrice wMid AS INTEGER ' Patrice wPid AS INTEGER ' Patrice vDriverVersion AS DWORD ' Patrice szPname As ASCIIZ * %MAXPNAMELEN ' Patrice END TYPE TYPE MIXERCONTROL cbStruct AS DWORD 'size in Byte of MIXERCONTROL dwControlID AS DWORD 'unique control id for mixer device dwControlType AS DWORD 'MIXERCONTROL_CONTROLTYPE_xxx fdwControl AS DWORD 'MIXERCONTROL_CONTROLF_xxx cMultipleItems AS DWORD 'if MIXERCONTROL_CONTROLF_MULTIPLE set szShortName AS ASCIIZ * %MIXER_SHORT_NAME_CHARS szName AS ASCIIZ * %MIXER_LONG_NAME_CHARS 'Bounds AS pbBounds 'Metrics AS pbMetrics lMinimum AS LONG ' Patrice Minimum value lMaximum AS LONG ' Patrice Maximum value reserved(10) AS LONG ' Patrice reserved structure space END TYPE TYPE MIXERLINECONTROLS cbStruct AS DWORD 'size in Byte of MIXERLINECONTROLS dwLineID AS DWORD 'line id (from MIXERLINE.dwLineID) 'item AS DWORD 'dwControlID or dwControlType dwControl AS DWORD 'Patrice dwControlID or dwControlType cControls AS DWORD 'count of controls pmxctrl points to cbmxctrl AS DWORD 'size in Byte of _one_ MIXERCONTROL pamxctrl AS MIXERCONTROL PTR 'pointer to first MIXERCONTROL array END TYPE DECLARE SUB CopyMemory LIB "KERNEL32.DLL" ALIAS "RtlMoveMemory" (lpDest AS ANY, lpSource AS ANY, BYVAL cbMove AS DWORD)
------------------
Patrice Terrier
mailto

Leave a comment: