Is accessing the USB Video Class Extension Units supported in Metro Style App?
-
mercredi 4 avril 2012 09: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.
Toutes les réponses
-
mercredi 4 avril 2012 15:42Modérateur
Lim Kok Ann,
I am looking into this for you.
Best Wishes - Eric
-
lundi 16 avril 2012 01:59
Hi Eric,
Any update?
Regards,
Kok ann
-
mercredi 6 juin 2012 05:41Modérateur
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
- Marqué comme réponse Eric Hanson-MSFTMicrosoft Employee, Moderator mercredi 6 juin 2012 05:42
- Non marqué comme réponse Lim Kok Ann vendredi 8 juin 2012 06:27
-
vendredi 8 juin 2012 06: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
-
mardi 12 juin 2012 15:49Modérateur
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
- Marqué comme réponse Eric Hanson-MSFTMicrosoft Employee, Moderator mardi 12 juin 2012 15:49

