- 26
- 0
- 约1.61万字
- 约 23页
- 2017-06-10 发布于河南
- 举报
MCI编程之mciSendCommand(国外英文资料)
MCI编程之mciSendCommand(国外英文资料)
In this paper, by chendongqi2007 contribution
MCI programming McISendCommand (2009-09-3011:54:23) : talk
Using the MCI API, the source file needs to include the header file mmsystem.h in the Project - Settings - Link - Object/libray module to add to the library Winmm. Lib.
1, the introduction of MCI
The MCI (Media Control Interface) provides Windows programs with the ability to Control Media device interfaces at a high level. Programs dont need to care about the specific equipment, can the CD player (CD), dv, waveform audio equipment, video equipment and MIDI device and other media equipment control.
For programmers, MCI can be understood as the equipment on the front panel a row of buttons, by selecting different keys (sending different MCI commands) allows equipment to complete a variety of functions, without having to concern within the equipment.
For example, for play, the camera has a different response to the CD player (one is playing video, one is playing audio), but for the user, its just the same button.
The application controls media devices by sending commands to MCI. The MCI command interface subsets the command string and the command message, both of which have the same functionality. The command string has a simple feature, but it is not as efficient as the command message.
All MCI command strings are passed to MCI through the multimedia API function McISendString, which is declared:
MCIERROR McISendString (
LPCTSTR lpszCommand, / / MCI command string
LPTSTR lpszReturnString, / / the buffer that stores feedback information
UINT cchReturn, / / buffer length
The HANDLE of the HANDLE hwndCallback / / callback window is usually NULL
); / / if success returns 0, the error code is returned.
The error code returned by this function can be analyzed using the McIGetErrorString function, which is declared:
BOOL McIGetErrorString (
The error code returned by DWORD fdwError, / / function McISendString
LPTSTR lpszErrorText, / / recei
您可能关注的文档
- CAD考证试题(国外英文资料).doc
- cad试题(国外英文资料).doc
- bind9安装配置(国外英文资料).doc
- CANON ip4200、4300维修(国外英文资料).doc
- can(can接口编程实例)(国外英文资料).doc
- CATIA十个技巧(国外英文资料).doc
- Canon LBP5050n 说明(国外英文资料).doc
- c220开局步骤(国外英文资料).doc
- CCNA培训 1第一章互连网概念综述(国外英文资料).doc
- cadkey(国外英文资料).doc
- 腾讯安全沙龙:红队视角下的海外SRC猎场:战略、战术与突破.pdf
- 【icap】ETS的范围扩展:设计和政策挑战.docx
- bcg -美国最高法院关于关税的裁决对你的企业意味着什么 What Does the US Supreme Court Ruling on Tariffs Mean for Your Business.pdf
- 2026届甘肃兰州市高三下学期第一次模拟考试历史试卷(扫描版,含答案).docx
- bcg -零售银行如何让人工智能代理发挥作用 How Retail Banks Can Put AI Agents to Work.pdf
- 住宅项目规范解读(GB 55038-2025) -培训 - 房地产-2025.docx
- 盘扣式脚手架工程量自动计算表 -培训 -房地产-2025.pdf
- 广东省汕头市2024-2025学年高三下学期第一次模拟考试英语学试题(含答案).docx
- 品牌研究+_+2025+CAPSE中国航司品牌榜单.pdf
- 【银河专题】如何看待豆粕内外价差关系.pdf
最近下载
- 广州市教育局直属事业单位招聘教师笔试真题2024.docx VIP
- 2024人教版一年级数学下册 第三单元《100以内数的认识》教案.pdf VIP
- 新能源汽车检测与维修初级工理论知识考试题库.docx VIP
- 淋病培训课件.ppt VIP
- (核心素养目标)2.1 认识自己导学案(含解析)七年级道德与法治上册(统编版2024).docx VIP
- 华电集团机械类笔试题目及答案.doc VIP
- 2026年党支部在学习贯彻党的创新理论、加强党性锤炼等“对照五个方面”存在的问题及整改措施与党支部班子在对照执行上级组织决定、抓好自身建设等“六个对照方面”检查材料【2篇文】.docx VIP
- 2023-2024学年南京市第一中学英语高三上期末统考试题含解析.pdf VIP
- 《NFC技术概述》课件.ppt VIP
- 迷宫中级难度80个.pdf VIP
原创力文档

文档评论(0)