MCI Command String全览——完全参数篇(1)[5]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 sproll 的 blog

lreturn=mciexecute(“open c:\mydocu~1\music01.dat alias openfile type mpegvideo”)      2

那么,在以后的mci command stringlpszdevice参数必须指定为openfile。例如,关闭该文件的代码如下:

lreturn=mciexecute(“close openfile”)                                               3

如果我们没有为打开的文件设定别名,则以后调用的mci command stringlpszdevice参数为dos路径名加文件名。例子如下:

本文关键:MCI
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top