WORD mmioClose(hmmio, wFlags)
This function closes a file opened with mmioOpen.
HMMIO hmmio
Specifies the file handle of the file to close.
WORD wFlags
Specifies options for the close operation.
MMIO_FHOPEN
If the file was opened by passing the DOS file handle of an already-opened file to mmioOpen, then using this flag tells mmioClose to close the MMIO file handle, but not the DOS file handle.
The return value is zero if the function is successful. Otherwise, the return value is an error code, either from mmioFlush or from the I/O procedure. The error code can be one of the following codes:
MMIOERR_CANNOTWRITE
The contents of the buffer could not be written to disk.
mmioOpen, mmioFlush