Is accessing the USB Video Class Extension Units supported in Metro Style App?
-
4 апреля 2012 г. 9:19
Hi,
Is accessing USB Video Class Extension Units of a camera device allowed for a Metro style app? If yes, how to go about it.
Current desktop way of accessing it is through the DirectShow capture filter(through IBaseFilter interface) which is no longer supported in Metro style app as Media Foundation is being used instead.
Все ответы
-
4 апреля 2012 г. 15:42Модератор
Lim Kok Ann,
I am looking into this for you.
Best Wishes - Eric
-
16 апреля 2012 г. 1:59
Hi Eric,
Any update?
Regards,
Kok ann
-
6 июня 2012 г. 5:41Модератор
Lim Kok Ann,
We have released a new sample that may be helpful:
http://code.msdn.microsoft.com/windowsapps/Metro-style-device-app-for-4f39b7bf
http://code.msdn.microsoft.com/windowshardware/Driver-MFT-Sample-34ecfecb
Best Wishes - Eric
- Помечено в качестве ответа Eric Hanson-MSFTMicrosoft Employee, Moderator 6 июня 2012 г. 5:42
- Снята пометка об ответе Lim Kok Ann 8 июня 2012 г. 6:27
-
8 июня 2012 г. 6:37
Lim Kok Ann,
We have released a new sample that may be helpful:
http://code.msdn.microsoft.com/windowsapps/Metro-style-device-app-for-4f39b7bf
http://code.msdn.microsoft.com/windowshardware/Driver-MFT-Sample-34ecfecb
Best Wishes - Eric
Hi Eric,
Thanks for the update.
The above samples didn't mention anything about the accessing of USB Video Class Extension Units of a camera device. Current desktop way is using the IKsControl interface queried from the DirectShow video capturing filter. So, I would like to know whether it's possible to get this interface from a Metro style device app. If not possible then is it possible to get it from Driver MFT(alias MFT0) instead.
Regards,
Kok Ann
-
12 июня 2012 г. 15:49Модератор
Kok Ann,
Accessing the USB Video Class Extension Units is not supported in a Metro style app. IKsControlInterface is not available to Metro style apps. Therefore it is not allowed to circumvent this requirement by using the MFT0.
Best Wishes - Eric
- Помечено в качестве ответа Eric Hanson-MSFTMicrosoft Employee, Moderator 12 июня 2012 г. 15:49

