Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft