Pointer to a mixer-event callback function.
typedef MIXEREVENT *PMIXEREVENT;
In the header file, this is a two-part definition as shown below:
typedef LONG (APIENTRY MIXEREVENT) (ULONG ulStatus, PMCI_MIX_BUFFER pBuffer, ULONG ulFlags); typedef MIXEREVENT *PMIXEREVENT;
Valid values for ulFlags are:
Valid values for ulStatus are:
Note:
For ulStatus to be set, the value of ulFlags must be MIX_STREAM_ERROR.
MIX_STREAM_ERROR will not be set without a previous MIX_READ_COMPLETE or MIX_WRITE_COMPLETE.
The event handler will not be called unless a value has been returned for ulFlags.