MFShutdown

Shuts down the Microsoft Media Foundation platform. Call this function once for every call to MFStartup. Do not call this function from work queue threads.

Syntax

HRESULT MFShutdown()  

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

Requirements

Header: Declared in mfapi.h.

Library: Use mfplat.lib.