mmioSetInfo  2MC4SDH 

The mmioSetInfo function updates the information retrieved by the mmioGetInfo1XEWGTA function about a file opened by using the mmioOpen8DMA.3 function. Use this function to terminate direct buffer access of a file opened for buffered I/O.

MMRESULT mmioSetInfo(

    HMMIO hmmio,

 

    LPMMIOINFO lpmmioinfo,

 

    UINT wFlags

 

   );

 

 

Parameters

hmmio

File handle of the file.

lpmmioinfo

Address of an MMIOINFO7F4X5_ structure filled with information by the mmioGetInfo1XEWGTA function.

wFlags

Reserved; must be zero.

 

Return Values

Returns zero if successful or an error otherwise.

Remarks

If you have written to the file I/O buffer, set the MMIO_DIRTY flag in the dwFlags member of the MMIOINFO structure before calling mmioSetInfo to terminate direct buffer access. Otherwise, the buffer will not get flushed to disk.

See Also

mmioGetInfo, mmioOpen, MMIOINFO