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 |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also
Show: