检测CD / DVD媒体更改 [英] Detect CD/DVD media change
本文介绍了检测CD / DVD媒体更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用C ++中的IMAPI2编写CD / DVD媒体图像母版制作程序。
我的尝试:
我找到了方法IDiscRecord2 :: EnableMcn()。但是,在IMAPI2的背景下,我无处发现如何在用户更改CD / DVD驱动器中的媒体时收到通知。
我将非常感激如果任何人都可以提供帮助。
I am writing a CD/DVD media image mastering program using IMAPI2 in C++.
What I have tried:
I have located the method IDiscRecord2::EnableMcn(). But nowhere have I discoverered within the context of IMAPI2 how to be notified when the user changes the Media in the Cd/DVD drive.
I will appreciate it very much if anybody can help.
推荐答案
请参阅MSDN文章如何接收CD-ROM插入或删除的通知 [ ^ ]。
CodeProject上也有一些文章,比如
检测硬件插入和/或移除 [ ^ ]
See the MSDN article How to receive notification of CD-ROM insertion or removal[^].
There are also some articles here at CodeProject like
Detecting Hardware Insertion and/or Removal[^]
请参阅:检测媒体插入或删除(Windows)。
-SA
这篇关于检测CD / DVD媒体更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文