IUIAnimationStoryboard::GetElapsedTime method (uianimation.h)
Gets the time that has elapsed since the storyboard started playing.
Syntax
HRESULT GetElapsedTime(
[out] UI_ANIMATION_SECONDS *elapsedTime
);
Parameters
[out] elapsedTime
The elapsed time.
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.
Return code | Description |
---|---|
|
The storyboard is not playing. |
Requirements
Requirement | Value |
---|---|
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 |