IMFShutdown interface (mfidl.h)
Exposed by some Media Foundation objects that must be explicitly shut down.
The IMFShutdown interface inherits from the IUnknown interface. IMFShutdown also has these types of members:
The IMFShutdown interface has these methods.
Queries the status of an earlier call to the IMFShutdown::Shutdown method.
Shuts down a Media Foundation object and releases all resources associated with the object.
The following types of object expose IMFShutdown:
- Content enablers (IMFContentEnabler interface)
- Input trust authorities (IMFInputTrustAuthority interface)
- Presentation clocks (IMFPresentationClock interface)
- Asynchronous MFTs
To obtain a pointer to this interface, call QueryInterface on the object.
If you are implementing a custom object, your object can expose this interface, but only if you can guarantee that your application will call Shutdown.
Media sources, media sinks, and synchronous MFTs should not implement this interface, because the Media Foundation pipeline will not call Shutdown on these objects. Asynchronous MFTs must implement this interface.
Some Media Foundation interfaces define a Shutdown method, which serves the same purpose as IMFShutdown::Shutdown but is not directly related to it.
|Minimum supported client||Windows Vista [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2008 [desktop apps | UWP apps]|