GetThemeAnimationTransform function (uxtheme.h)

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

Syntax

HRESULT GetThemeAnimationTransform(
  HTHEME       hTheme,
  int          iStoryboardId,
  int          iTargetId,
  DWORD        dwTransformIndex,
  TA_TRANSFORM *pTransform,
  DWORD        cbSize,
  DWORD        *pcbSizeOut
);

Parameters

hTheme

An opened theme handle.

iStoryboardId

A predefined storyboard identifier.

iTargetId

A predefined target identifier.

dwTransformIndex

The zero-based index of a transform operation.

pTransform

A pointer to a buffer to receive a transform structure.

cbSize

The byte size of the buffer pointed by pTransform.

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