mmioClose

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.

标识关闭操作,随后的值被定义.

ValueMeaning
MMIO_FHOPENIf 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 codeDescription
MMIOERR_CANNOTWRITE

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

Mmsystem.h (include Windows.h)

Library

Winmm.lib

DLL

Winmm.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




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值