Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.02 KB

mmioFlush.md

File metadata and controls

49 lines (34 loc) · 1.02 KB

Home

Function name : mmioFlush

Group: Windows Multimedia - Library: winmm


The mmioFlush function writes the I/O buffer of a file to disk if the buffer has been written to.


Code examples:

Class for sound recording
Changing pitch and speed of a wave file
Adding supplementary data to AVI files

Declaration:

MMRESULT mmioFlush(
  HMMIO hmmio,
  UINT fuFlush
);  

FoxPro declaration:

DECLARE INTEGER mmioFlush IN winmm;
	INTEGER hmmio,;
	INTEGER fuFlush  

Parameters:

hmmio File handle of a file opened by using the mmioOpen function.

fuFlush Flag determining how the flush is carried out. It can be zero or the following.


Return value:

Returns zero if successful or an error otherwise.