首页 相关文章 如何用API及MMSYSTEM.DLL播放AVI文件

如何用API及MMSYSTEM.DLL播放AVI文件

'Author:GordonF.MacLeod
  'Howtoplayan.AVIfileusingAPIandtheMMSYSTEM.DLL..
  '-------------------------------------------------------------------
  'Here'showtoplayan.AVIfileviaAPI
  'DeclarethisAPI:
  
  DeclareFunctionmciSendString&Lib"MMSYSTEM"(ByValpstrCommand$,
  ByVallpstrReturnStrAsAny,ByValwReturnLen,ByValCallBack)
  
  'Addthiscodetotheappropriateevent:
  
  DimCmdStr$
  DimReturnVal&
  
  'Modifypathandfilenameasnecessary
  CmdStr$="playG:VFW_CINEAK1.AVI"
...[ 查看全文 ]

2016-02-19 标签:

如何用API及MMSYSTEM.DLL播放AVI文件的相关文章