views:

63

answers:

0

Hi,

Here is a question about MFStartup function in Media Foundation:

According to the article "Initializing Media Foundation" (http://msdn.microsoft.com/en-us/library/ms704682%28VS.85%29.aspx), before using any Microsoft Media Foundation objects or interfaces, you must call the MFStartup function.

But there is a sample from "MFPlay Tutorial: Video Playback" (http://msdn.microsoft.com/en-us/library/dd798740%28VS.85%29.aspx).

It doesn't use MFStartup function and it executes well.

Why?

Is MFPlay object an exception for MFStartup?

Thanks in advance.