IMFMediaSource::Shutdown Method
Shuts down the media source and releases the resources it is using.
Syntax
HRESULT Shutdown();
Parameter
Methode umfasst keine Parameter.
Rückgabewert
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Rückgabecode | Beschreibung |
---|---|
S_OK | The method succeeded. |
Hinweise
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).
Anforderungen
Mindestens unterstützter Client |
Windows Vista |
Mindestens unterstützter Server |
Windows Server 2008 |
Header |
Mfidl.h |
Bibliothek |
Mfuuid.lib |