The mmioClose function closes a file that was opened by using the mmioOpen function.
MMRESULT mmioClose(
HMMIO hmmio,
UINT wFlags
);
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:
Value | Description | ||
---|---|---|---|
MMIOERR_CANNOTWRITE | The contents of the buffer could not be written to disk. |
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mmsystem.h.
Import Library: Use winmm.lib.
Multimedia File I/O Overview, Multimedia File I/O Functions, mmioOpen, mmioFlush