Skip to content

Latest commit

 

History

History
113 lines (93 loc) · 3.2 KB

nf-mfidl-imfmediasession-cleartopologies.md

File metadata and controls

113 lines (93 loc) · 3.2 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mfidl.IMFMediaSession.ClearTopologies
IMFMediaSession::ClearTopologies (mfidl.h)
Clears all of the presentations that are queued for playback in the Media Session.
ClearTopologies
ClearTopologies method [Media Foundation]
ClearTopologies method [Media Foundation]
IMFMediaSession interface
IMFMediaSession interface [Media Foundation]
ClearTopologies method
IMFMediaSession.ClearTopologies
IMFMediaSession::ClearTopologies
fcb7e5f1-1095-4766-afed-43ad2279abb4
mf.imfmediasession_cleartopologies
mfidl/IMFMediaSession::ClearTopologies
mf\imfmediasession_cleartopologies.htm
mf
fcb7e5f1-1095-4766-afed-43ad2279abb4
12/05/2018
ClearTopologies, ClearTopologies method [Media Foundation], ClearTopologies method [Media Foundation],IMFMediaSession interface, IMFMediaSession interface [Media Foundation],ClearTopologies method, IMFMediaSession.ClearTopologies, IMFMediaSession::ClearTopologies, fcb7e5f1-1095-4766-afed-43ad2279abb4, mf.imfmediasession_cleartopologies, mfidl/IMFMediaSession::ClearTopologies
mfidl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Mfuuid.lib
Windows
19H1
IMFMediaSession::ClearTopologies
mfidl/IMFMediaSession::ClearTopologies
c++
APIRef
kbSyntax
COM
mfuuid.lib
mfuuid.dll
IMFMediaSession.ClearTopologies

IMFMediaSession::ClearTopologies

-description

Clears all of the presentations that are queued for playback in the Media Session.

-returns

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
MF_E_INVALIDREQUEST
The operation cannot be performed in the Media Session's current state.
MF_E_SHUTDOWN
The Media Session has been shut down.

-remarks

This method is asynchronous. When the operation completes, the Media Session sends an MESessionTopologiesCleared event.

This method does not clear the current topology; it only removes topologies that are placed in the queue, waiting for playback. To remove the current topology, call IMFMediaSession::SetTopology with the MFSESSION_SETTOPOLOGY_CLEAR_CURRENT flag.

-see-also

IMFMediaSession