IPropertySetter interface

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Note

[Deprecated. This API may be removed from future releases of Windows.]

 

The IPropertySetter interface sets properties on an effect or transition in DirectShow Editing Services (DES).

To use this interface, create an instance of a property setter object (CLSID_PropertySetter), and associate it with an effect or transition by calling the IAMTimelineObj::SetPropertySetter method. For more information, see Working with Effects and Transitions.

Usually an application needs to call only the IPropertySetter::ClearProps method to clear existing properties, and the IPropertySetter::AddProp method to add new properties. The other methods on this interface are called by other DES components.

Members

The IPropertySetter interface inherits from the IUnknown interface. IPropertySetter also has these types of members:

Methods

The IPropertySetter interface has these methods.

Method Description
AddProp Adds a property to the property setter, with an array of time-value pairs defining the value of the property over a range of time.
ClearProps Clears all property data from the property setter.
CloneProps Clones a set of properties from this property setter and adds them to a new property setter.
FreeProps Frees resources allocated by the IPropertySetter::GetProps method.
GetProps Retrieves the properties set on this object, with their corresponding values.
LoadFromBlob Loads property data from a persistence format.
LoadXML Loads property data expressed in Extensible Markup Language (XML).
PrintXML Converts property data into an XML string.
SaveToBlob Saves the property data to a persistence format.
SetProps Sets the properties of the target object to the appropriate state for the specified time.

 

Remarks

Note

The header file Qedit.h is not compatible with Direct3D headers later than version 7.

 

Note

To obtain Qedit.h, download the Microsoft Windows SDK Update for Windows Vista and .NET Framework 3.0. Qedit.h is not available in the Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 Service Pack 1.

 

Requirements

Requirement Value
Header
Qedit.h
Library
Strmiids.lib