IUIAnimationVariable::GetIntegerValue method

Gets the current value of the animation variable as an integer.

Syntax

HRESULT GetIntegerValue(
  INT32 *value
);

Parameters

value

The current value of the animation variable, converted to an INT32 value.

Return Value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See Windows Animation Error Codes for a list of error codes.

Remarks

To specify the rounding mode to be used when converting the value, use the IUIAnimationVariable::SetRoundingMode method.

The result can also be affected by the lower and upper bounds determined by IUIAnimationVariable::SetLowerBound and IUIAnimationVariable::SetUpperBound, respectively.

Examples

For an example, see Read the Animation Variable Values.

Requirements

   
Minimum supported client Windows 7, Windows Vista and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header uianimation.h
DLL UIAnimation.dll

See Also

IUIAnimationVariable

IUIAnimationVariable::GetFinalIntegerValue

IUIAnimationVariable::GetPreviousIntegerValue

IUIAnimationVariable::GetValue

IUIAnimationVariable::SetLowerBound

IUIAnimationVariable::SetRoundingMode

IUIAnimationVariable::SetUpperBound