IUIAnimationInterpolator::InterpolateValue Method
[This documentation is preliminary and is subject to change.]
Interpolates the value of an animation variable at a given offset.
Syntax
HRESULT InterpolateValue(
[in] UI_ANIMATION_SECONDS offset,
[out] DOUBLE *value
);
Parameters
offset [in]
The offset.value [out]
The interpolated value.
Return Value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See UIAnimation Error Codes for a complete list of error codes.
| Return code | Description |
|---|---|
UI_E_FP_OVERFLOW |
Floating-point overflow occurred. |
UI_E_INVALID_OUTPUT |
A callback returned an invalid output parameter. |
Remarks
The UI_ANIMATION_SECONDS type is declared in UIAnimation.h as:
typedef DOUBLE UI_ANIMATION_SECONDS;
Requirements
| Minimum supported client | Windows 7 |
| Minimum supported server | Windows Server 2008 R2 |
| Header | UIAnimation.h |
| IDL | UIAnimation.idl |
| DLL | UIAnimation.dll |
See Also
UIAnimationInterpolatorUIAnimation Error Codes
Send comments about this topic to Microsoft
Build date: 3/4/2009