Shuts down the media source and releases the resources it is using.
HRESULT Shutdown( );
This method has no parameters.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
||The method succeeded.|
If the application creates the media source, either directly or through the source resolver, the application is responsible for calling Shutdown to avoid memory or resource leaks.
After this method is called, methods on the media source and all of its media streams return MF_E_SHUTDOWN (except for IUnknown methods).
|Minimum supported client||Windows Vista [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2008 [desktop apps | UWP apps]|