Windows Dev Center

Expand Minimize

GetThemeTimingFunction function

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

Syntax


HRESULT THEMEAPI GetThemeTimingFunction(
  _In_  HTHEME            hTheme,
  _In_  int               iTimingFunctionId,
  _Out_ TA_TIMINGFUNCTION *pTimingFunction,
  _In_  DWORD             cbSize,
  _Out_ DWORD             pcbSizeOut
);

Parameters

hTheme [in]

An opened theme handle.

iTimingFunctionId [in]

A timing function identifier.

pTimingFunction [out]

A buffer to receive a predefined timing function pointer.

cbSize [in]

The byte size of the buffer pointed by pTimingFunction.

pcbSizeOut [out]

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

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