IMFShutdown::Shutdown Method

Shuts down a Media Foundation object and releases all resources associated with the object.

Syntax

public:
HRESULT Shutdown()  

Return value

Type: HRESULT 

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Refer to Media Foundation return codes.

Remarks

The MFShutdownObject helper function is equivalent to calling this method.

Requirements

Header: Declared in mfidl.h.

Library: Use mfuuid.lib.