Hello,
I have a video capture driver which exposes proprietary properties using automation tables. In addition to the driver, I have a usermode DLL which contains the COM interface declarations. All of this is based on the Max Paklin sample code: http://timr.probo.com/wd3/121503/KsProxyPlugin.htm
In a DirectShow application, I can call IUnknown::QueryInterface on my source filter's IBaseFilter, passing in the GUID of my interface, and receive a pointer to the interface. The code body lies in the DLL, which makes calls to the driver through the IKsPropertySet interface.
All this is well and good.
My question is, how can I obtain my interface from within a Media Foundation application?
I have a IMFMediaSource object for my source, but calling QueryInterface as above does not work (E_NOINTERFACE).
I obtained the IMFMediaSource using the msdn code https://msdn.microsoft.com/en-us/library/windows/desktop/dd940326(v=vs.85).aspx
Thank you in advance.