ITransformPropertiesConfig::SetPropertyValue method
The SetPropertyValue method assigns a property with a time point to a collection.
Syntax
HRESULT SetPropertyValue(
[in] LPCTSTR szName,
[in] double dblTime,
[in] 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 value
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
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
Library |
|