I would like to implement a custom Windows Media Foundation Scheme Handler, IMFSchemeHandler, that returns a byte stream from a file on disk.
I am struggling to work out how this should be done from the documentation on Microsoft's website and I can't find any samples relating to this. I am not very experienced with C++ which might be causing my lack of understanding.
Can anyone provide any examples of how this should work? Or know where I can find a working sample of a simple Scheme Handler?
Eventually I want the handler to be able to decrypt an encrypted file on disk and pass the unencrypted byte stream into the normal Media Foundation pipeline to be handled by existing byte stream handlers.