Quantcast
Channel: Media Foundation Development for Windows Desktop forum
Viewing all articles
Browse latest Browse all 1079

Lazy loading MFCreateAVIMediaSink

$
0
0

Hello,

I would like to lazy load MFCreateAVIMediaSink(), that only exists starting from Windows 8.1. It is easy by using LoadLibrary() and GetProcAdress().

However, the doc tells that the symbol should be found in mf.dll, and in reality, it must be looked for into mfsrcsnk.dll.

I wonder if I can just assume that the doc is wrong and that in the future, it will always work with mfsrcsnk.dll, or if there is a way to crawl in mf.dll as an "umbrella dll" and automatically locate the good dll that contains MFCreateAVIMediaSink(), that might perhaps not always be found in mfsrcsnk.dll in the future.



Viewing all articles
Browse latest Browse all 1079

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>