GetThemeAnimationTransform function (uxtheme.h)

Gets an animation transform operation based on storyboard id, target id and transform index.

Syntax

HRESULT GetThemeAnimationTransform(
  [in]  HTHEME       hTheme,
  [in]  int          iStoryboardId,
  [in]  int          iTargetId,
  [in]  DWORD        dwTransformIndex,
  [out] TA_TRANSFORM *pTransform,
  [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] dwTransformIndex

The zero-based index of a transform operation.

[out] pTransform

A pointer to a buffer to receive a transform structure.

[in] cbSize

The byte size of the buffer pointed by pTransform.

[out] pcbSizeOut

The byte size of a transform operation structure.

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]
Target Platform Windows
Header uxtheme.h
Library UxTheme.lib
DLL UxTheme.dll