Windows Dev Center

IMFTopology::CloneFrom method

Converts this topology into a copy of another topology.

Syntax


HRESULT CloneFrom(
  [in] IMFTopology *pTopology
);

Parameters

pTopology [in]

A pointer to the IMFTopology interface of the topology to clone.

Return value

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

Remarks

This method does the following:

  • Removes all of the nodes from this topology.
  • Clones the nodes from pTopology and adds them to this topology. The cloned nodes have the same node identifiers as the nodes from pTopology.
  • Connects the cloned nodes to match the connections in pTopology.
  • Copies the attributes from pTopology to this topology.
  • Copies the topology identifier from pTopology to this topology.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

Library

Mfuuid.lib

See also

Topologies
IMFTopology

 

 

Community Additions

ADD
Show:
© 2015 Microsoft