ITransformPropertiesConfig::SetPropertyValue
The SetPropertyValue method assigns a property with a time point to a collection.
Syntax
HRESULT SetPropertyValue(
LPCTSTR szName,
double dblTime,
PROPVARIANT varValue
);
Parameters
szName
[in] The name of the new property.
dblTime
[in] A time value for a time point to assign to the property. This should be from 0.0 (the start of the effect or transition) to 1.0 (the end of the effect or transition).
varValue
[in] The value to assign to the property at time dblTime.
Return Values
The method returns an HRESULT of S_OK for success, or a standard COM error code for failure.
Remarks
If a property with the specified name already exists, this method will modify the existing property. If no property with this name exists, this method will create and add a new property.
An alternate way of creating a new property is ITransformPropertiesConfig::CreateProperty.
Requirements
Client: Windows Vista
Header: Include gputransformplugin.h and GPUPipelineTime.h.
Library: Use GPUPipelineVC7.lib (for Visual Studio .NET) or GPUPipelineVC8.lib (for Visual Studio 2005).
See Also