Pointer to a mixer read or write routine. This routine allows an application to write or read buffers to or from the mixer.
typedef MIXERPROC *PMIXERPROC;
In the header file, this is a two-part definition as shown below.
typedef LONG (APIENTRY MIXERPROC) (ULONG ulHandle, PMCI_MIX_BUFFER pBuffer, ULONG ulFlags); typedef MIXERPROC *PMIXERPROC;
The following errors can be returned by the MIXERPROC function:
MCIERR_INVALID_MODE
MCIERR_INVALID_MODE is returned if the application specified playback mode for the mixer and attempted to read data or if the application specified record mode for the mixer and attempted to write data.