MMRESULT mmioSetInfo(hmmio, lpmmioinfo, uFlags) | |||
HMMIO hmmio; | |||
LPMMIOINFO lpmmioinfo; | |||
UINT uFlags; |
The mmioSetInfo function updates the information retrieved by mmioGetInfo about a file opened with mmioOpen. Use this function to terminate direct buffer access of a file opened for buffered I/O.
hmmio
Specifies the file handle of the file.
lpmmioinfo
Specifies a pointer to an MMIOINFO structure filled with information with mmioGetInfo.
uFlags
Is not used and should be set to zero.
The return value is zero if the function is successful.
If you have written to the file I/O buffer, set the MMIO_DIRTY flag in the dwFlags field of the MMIOINFO structure before calling mmioSetInfo to terminate direct buffer access. Otherwise, the buffer will not get flushed to disk.
mmioGetInfo