Share via


Função GetThemeTimingFunction (uxtheme.h)

Obtém uma função de tempo predefinida com base em um identificador de função de tempo.

Sintaxe

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

Parâmetros

[in] hTheme

Um identificador de tema aberto.

[in] iTimingFunctionId

Um identificador de função de tempo.

[out] pTimingFunction

Um buffer para receber um ponteiro de função de tempo predefinido.

[in] cbSize

O tamanho do byte do buffer apontado por pTimingFunction.

[out] pcbSizeOut

O tamanho do byte da estrutura da função de tempo.

Retornar valor

Se essa função for bem-sucedida, ela retornará S_OK. Caso contrário, ele retornará um código de erro HRESULT.

Requisitos

Requisito Valor
Cliente mínimo com suporte Windows 8 [somente aplicativos da área de trabalho]
Servidor mínimo com suporte Windows Server 2012 [somente aplicativos da área de trabalho]
Plataforma de Destino Windows
Cabeçalho uxtheme.h
Biblioteca UxTheme.lib
DLL UxTheme.dll