From what I can see, the user is supposed to allocate the memory. To use the out keyword, I would need to turn MFT_INPUT_STREAM_INFO into a struct instead of a class (I use class normally as it allows us to pass nulls if needed). Have you tried it with
your alternative method signature?
On 1 December 2012 08:09, Mark Heath <mark.heath@gmail.com> wrote:
that is a strange one. The MSDN documentation says [out] but it is only a single level of indirection. I would expect a **ppStreamInfo for a genuine out parameter, which is why I made it [In,Out] (I assumed the caller creates the struct and it is filled in by the user). I'll see what is in the header file