GetThemeAnimationProperty function (uxtheme.h)

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

Syntax

HRESULT GetThemeAnimationProperty(
  [in]  HTHEME      hTheme,
  [in]  int         iStoryboardId,
  [in]  int         iTargetId,
  [in]  TA_PROPERTY eProperty,
  [out] VOID        *pvProperty,
  [in]  DWORD       cbSize,
  [out] DWORD       *pcbSizeOut
);

Parameters

[in] hTheme

An opened theme handle.

[in] iStoryboardId

A predefined storyboard identifier.

[in] iTargetId

A predefined target identifier.

[in] eProperty

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

[out] pvProperty

The buffer to receive the returned property value.

[in] cbSize

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

[out] pcbSizeOut

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

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header uxtheme.h
Library UxTheme.lib
DLL UxTheme.dll