Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IUIAnimationTimer::IsEnabled method

Determines whether the timer is currently enabled.

Syntax


HRESULT IsEnabled();

Parameters

This method has no parameters.

Return value

Returns S_OK if the animation timer is enabled, S_FALSE if the animation timer is disabled, or an HRESULT error code. See Windows Animation Error Codes for a list of error codes.

Examples


hr = m_pAnimationTimer->IsEnabled();
if (SUCCEEDED(hr))
{
    bool fTimerEnabled = (hr == S_OK);
    ...
}

Requirements

Minimum supported client

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

Minimum supported server

None supported [desktop apps | Windows Store apps]

Header

UIAnimation.h

IDL

UIAnimation.idl

DLL

UIAnimation.dll

See also

IUIAnimationTimer
IUIAnimationTimer::Disable
IUIAnimationTimer::Enable

 

 

Community Additions

Show:
© 2014 Microsoft