Skip to main content
IUIAnimationVariable2::GetCurrentStoryboard method

Gets the active storyboard for the animation variable.

Syntax


HRESULT GetCurrentStoryboard(
  [out] IUIAnimationStoryboard2 **storyboard
);

Parameters

storyboard [out]

The active storyboard, or NULL if the animation variable is not being animated.

Return value

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

Requirements

Minimum supported client

Windows 8, Windows 7 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported

Header

UIAnimation.h

IDL

UIAnimation.idl

DLL

UIAnimation.dll

IID

IID_IUIAnimationVariable2 is defined as 4914B304-96AB-44d9-9E77-D5109B7E7466

See also

IUIAnimationVariable2