Export (0) Print
Expand All

IMFTopologyNode::SetObject method

Sets the object associated with this node.

Syntax


HRESULT SetObject(
  [in]  IUnknown *pObject
);

Parameters

pObject [in]

A pointer to the object's IUnknown interface. Use the value NULL to clear an object that was previous set.

Return value

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

Return codeDescription
S_OK

The method succeeded.

 

Remarks

All node types support this method, but the object pointer is not used by every node type.

Node typeObject pointer
Source node.Not used.
Transform node. IMFTransform or IMFActivate interface.
Output node IMFStreamSink or IMFActivate interface.
Tee node.Not used.

 

If the object supports IPersist, IPersistStorage, or IPersistPropertyBag, the method gets the object's CLSID and sets the MF_TOPONODE_TRANSFORM_OBJECTID attribute on the node.

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

IMFTopologyNode
Topologies

 

 

Community Additions

ADD
Show:
© 2014 Microsoft