Export (0) Print
Expand All
Expand Minimize
1 out of 1 rated this helpful - Rate this topic

GetThemeAnimationProperty function

Gets a theme animation property based on the storyboard id and the target id.

Syntax


HRESULT THEMEAPI GetThemeAnimationProperty(
  _In_   HTHEME hTheme,
  _In_   int iStoryboardId,
  _In_   int iTargetId,
  _In_   TA_PROPERTY eProperty,
  _Out_  VOID *pvProperty,
  _In_   DWORD cbSize,
  _Out_  DWORD pcbSizeOut
);

Parameters

hTheme [in]

An opened theme handle.

iStoryboardId [in]

A predefined storyboard identifier.

iTargetId [in]

A predefined target identifier.

eProperty [in]

The property that is associated with the animation storyboard and target.

pvProperty [out]

The buffer to receive the returned property value.

cbSize [in]

The byte size of a buffer that is pointed by pvProperty.

pcbSizeOut [out]

The byte size of the returned property.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Uxtheme.h

Library

UxTheme.lib

DLL

UxTheme.dll

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.