Type MCI_WAVE_SET_PARMS
'//////////////////////////////////////////////////////////////////////////////////////////
' The MCI_WAVE_SET_PARMS structure user-defined variable contains information for
' the MCI_SET command for waveform-audio devices.
'//////////////////////////////////////////////////////////////////////////////////////////
dwCallback As Long ' Window handle used for the MCI_NOTIFY flag.
dwTimeFormat As Long ' Time format of the device.
dwAudio As Long ' Channel number for audio output. Typically used
' when turning a channel on or off.
wInput As Long ' Audio input channel.
wOutput As Long ' Output device to use. For example, this value could be
' 2 if a system had two installed sound cards.
wFormatTag As Integer ' Format of the waveform-audio data. See the Platform SDK
' product documentation for more information about formats.
wReserved2 As Integer ' Reserved
nChannels As Integer ' 1 for Mono or 2 for stereo.
wReserved3 As Integer ' Reserved.
nSamplesPerSec As Long ' Samples per second.
nAvgBytesPerSec As Long ' Sample rate in bytes per second.
nBlockAlign As Integer ' Block alignment of the data.
wReserved4 As Integer ' Reserved.
wBitsPerSample As Integer ' Bits per sample.
wReserved5 As Integer ' Reserved
End Type
Type WAVEOUTCAPS
'///////////////////////////////////////////////////////////////////////////////////////////
' The WAVEOUTCAPS user-defined variable describes the capabilities of a waveform-audio
' output device.
'///////////////////////////////////////////////////////////////////////////////////////////
wMid As Integer ' Manufacturer identifier for the device driver for
' the device. Manufacturer identifiers are defined
' in Manufacturer and Product Identifiers in the
' Platform SDK product documentation.
wPid As Integer ' Product identifier for the device. Product
' identifiers are defined in Manufacturer and Product
' Identifiers in the Platform SDK product documentation.
vDriverVersion As Long ' Version number of the device driver for the device.
' The high-order byte is the major version number, and
' the low-order byte is the minor version number.
szPname As String * MAXPNAMELEN ' Product name in a null-terminated string.
dwFormats As Long ' Standard formats that are supported. See the Platform
' SDK product documentation for more information.
wChannels As Integer ' 1 if the device supports mono or 2 if the device supports
' stereo output.
dwSupport As Long ' Optional functionality supported by the device. See the
' Platform SDK product documentation for more information.
End Type