The mmioClose function closes a file that was opened by using the mmioOpen function.
本函数关闭一个文件,它已经被使用mmioOpen函数打开
Syntax
MMRESULT mmioClose( HMMIO hmmio, UINT wFlags );
Parameters
-
hmmio
-
File handle of the file to close.
要关闭的文件的文件句柄
wFlags
-
Flags for the close operation. The following value is defined.
标识关闭操作,随后的值被定义.
Value Meaning 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.
Return value
Returns zero if successful or an error otherwise. The error value can originate from the mmioFlushfunction or from the I/O procedure. Possible error values include the following.
Return code | Description |
---|---|
| The contents of the buffer could not be written to disk. |
Requirements
Minimum supported client | Windows 2000 Professional |
---|---|
Minimum supported server | Windows 2000 Server |
Header |
|
Library |
|
DLL |
|
Send comments about this topic to Microsoft
Build date: 9/7/2011
http://msdn.microsoft.com/en-us/library/dd757316(v=VS.85).aspx