waveOutUnprepareHeader function winmm

int waveOutUnprepareHeader(
  1. HWAVEOUT hwo,
  2. Pointer<WAVEHDR> pwh,
  3. int cbwh
)

Cleans up the preparation performed by the waveOutPrepareHeader function.

This function must be called after the device driver is finished with a data block. You must call this function before freeing the buffer.

To learn more, see learn.microsoft.com/windows/win32/api/mmeapi/nf-mmeapi-waveoutunprepareheader.

Implementation

@pragma('vm:prefer-inline')
int waveOutUnprepareHeader(HWAVEOUT hwo, Pointer<WAVEHDR> pwh, int cbwh) =>
    _waveOutUnprepareHeader(hwo, pwh, cbwh);