The AddPoint method adds a data point to the property.
HRESULT AddPoint( double dblTime, PROPVARIANT varpropValue, ITransformPropertyPoint** ppCreatedPoint );
[in] The time that is associated with this point.
[in] The value that is associated with this point.
[out] Address of a pointer to a copy of the created and added point. The caller must release this interface when it is no longer needed.
The method returns an HRESULT of S_OK for success, or a standard COM error code for failure.
If a point at the time specified already exists, this method will add a duplicate point with the same time and a new value. Therefore, you should always check first to see if the time point exists, and if so, use SetValueAtTime instead.
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).