The mmioClose function closes a file that was opened by using the mmioOpen function.
MMRESULT mmioClose( HMMIO hmmio, UINT fuClose );
File handle of the file to close.
Flags for the close operation. The following value is defined.
|MMIO_FHOPEN||If the file was opened by passing a file handle whose type is not HMMIO, using this flag tells the mmioClose function to close the multimedia file handle, but not the standard file handle.|
Returns zero if successful or an error otherwise. The error value can originate from the mmioFlush function or from the I/O procedure. Possible error values include the following.
||The contents of the buffer could not be written to disk.|
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||mmiscapi.h (include Mmiscapi.h, Windows.h)|