Is accessing the USB Video Class Extension Units supported in Metro Style App?
-
Wednesday, April 04, 2012 9:19 AM
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.
All Replies
-
Wednesday, April 04, 2012 3:42 PMModerator
Lim Kok Ann,
I am looking into this for you.
Best Wishes - Eric
-
Monday, April 16, 2012 1:59 AM
Hi Eric,
Any update?
Regards,
Kok ann
-
Wednesday, June 06, 2012 5:41 AMModerator
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
- Marked As Answer by Eric Hanson-MSFTMicrosoft Employee, Moderator Wednesday, June 06, 2012 5:42 AM
- Unmarked As Answer by Lim Kok Ann Friday, June 08, 2012 6:27 AM
-
Friday, June 08, 2012 6:37 AM
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
-
Tuesday, June 12, 2012 3:49 PMModerator
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
- Marked As Answer by Eric Hanson-MSFTMicrosoft Employee, Moderator Tuesday, June 12, 2012 3:49 PM


