locked
Generate managed wrapper for Media Foundation RRS feed

  • Question

  • MF team has provided MFManagedEncode which is written in C#, inside the source they have created wrapper for a lot of MF interfaces but not all interfaces, is there have any tool can generate the managed wrapper for rest interfaces automatically? if no, i need write the wrapper by myself, but where can i find the GUID of COM and the IID of the interface? MSDN just mentioned the interface belong which lib, for example, what's the IID of IMFMediaStream interface?
    Thursday, February 24, 2011 1:45 AM

Answers

  • Have a look at this project. it maybe somewhat oudated, but it should be a good starting point.

    If you can create a Type Library (.tlb) for MF, you could also use tlbimp.exe (part of .net framework) to create

    an assembly cnotaining type definitions for the original type library.

    • Marked as answer by jason__ Friday, March 4, 2011 9:08 AM
    Thursday, February 24, 2011 7:24 AM

All replies

  • Have a look at this project. it maybe somewhat oudated, but it should be a good starting point.

    If you can create a Type Library (.tlb) for MF, you could also use tlbimp.exe (part of .net framework) to create

    an assembly cnotaining type definitions for the original type library.

    • Marked as answer by jason__ Friday, March 4, 2011 9:08 AM
    Thursday, February 24, 2011 7:24 AM
  • Hi Jason,

    Could you give me a copy of the source code. The links in the blog no longer work.

    Thanks,

    Weera

    Thursday, June 18, 2015 11:24 AM
  • Please, I want that copy of sources too.
    Thanks!
    Tuesday, January 26, 2016 2:01 PM
  • Sorry Weera, I left that company and no longer have the source code
    Tuesday, January 26, 2016 2:19 PM
  • Sorry, I left that company and no longer have the source code
    Tuesday, January 26, 2016 2:19 PM