locked
Accessing mft0 from Javascript RRS feed

  • Question

  • HI,

    Is there a way to access MFT0 from Metro Style App in Javascript or C++ without using WinRT?

    If so can you please provide some details please?


    Friday, March 16, 2012 6:07 PM

Answers

  • Hello batam,

    I'm not entirely sure what you are asking. If you are using JavaScript you only have access to the audio and video tags. These tags are based on the W3C specification and AFAIK don't really offer source specific metadata to the UI layer. Is there something specific you want to do with the camera? Why are you trying to avoid WinRT? If you can give me more information maybe I can make some useful suggestions.

    Thanks,

    James


    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    • Marked as answer by batam2601 Tuesday, March 27, 2012 7:16 PM
    Thursday, March 22, 2012 2:16 AM
    Moderator
  • We just released a new sample for Release Preview with MFT0 access:

    http://code.msdn.microsoft.com/windowsapps/Metro-style-device-app-for-4f39b7bf

    The JavaScript version of the sample does MFT0 access.

    Best Wishes - Eric

    Thursday, June 14, 2012 6:08 AM
    Moderator

All replies

  • I believe the headers for NTFS including the Master File Table related ones are only in the desktop SDK and not the Metro apps SDK.  If you included them in an app submitted to the store (or ran the tests locally) it would fail.

    What did you wish to accomplish? Maybe it can be done through other WinRT APIs.

    Friday, March 16, 2012 6:24 PM
  • I would like to develop Metro Style App in Javascript for the camera application - preview, capture. I am aware that MFT0 can be accessed via WinRT. However I would like to know if option without WinRT is available.

    The intention is NOT to use any MFT extension that can be invoked through AddEffect method.

    Is it possible to create a device class that would serve as a wrapper for a custom camera MFT0? 

    Friday, March 16, 2012 9:21 PM
  • I think I misunderstood, what is MFT? I thought you were refering to something in NTFS, which sounds not be the case.

    Friday, March 16, 2012 9:24 PM
  • MFT0 - Transform Filter for the Camera Application.
    Friday, March 16, 2012 9:27 PM
  • Hello batam,

    I'm not entirely sure what you are asking. If you are using JavaScript you only have access to the audio and video tags. These tags are based on the W3C specification and AFAIK don't really offer source specific metadata to the UI layer. Is there something specific you want to do with the camera? Why are you trying to avoid WinRT? If you can give me more information maybe I can make some useful suggestions.

    Thanks,

    James


    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    • Marked as answer by batam2601 Tuesday, March 27, 2012 7:16 PM
    Thursday, March 22, 2012 2:16 AM
    Moderator
  • After more readings I realized accessing camera properties through WinRT would provide very good solution. Thank you.

    Monday, March 26, 2012 11:51 PM
  • We just released a new sample for Release Preview with MFT0 access:

    http://code.msdn.microsoft.com/windowsapps/Metro-style-device-app-for-4f39b7bf

    The JavaScript version of the sample does MFT0 access.

    Best Wishes - Eric

    Thursday, June 14, 2012 6:08 AM
    Moderator