GetThemeTimingFunction function (uxtheme.h)

Gets a predefined timing function based on a timing function identifier.

Syntax

HRESULT GetThemeTimingFunction(
  [in]  HTHEME            hTheme,
  [in]  int               iTimingFunctionId,
  [out] TA_TIMINGFUNCTION *pTimingFunction,
  [in]  DWORD             cbSize,
  [out] DWORD             *pcbSizeOut
);

Parameters

[in] hTheme

An opened theme handle.

[in] iTimingFunctionId

A timing function identifier.

[out] pTimingFunction

A buffer to receive a predefined timing function pointer.

[in] cbSize

The byte size of the buffer pointed by pTimingFunction.

[out] pcbSizeOut

The byte size of the timing function structure.

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