dxgi: Fix a typo in a comment.
[wine.git] / include / dcompanimation.idl
blobdac6a2615edfdef1816260b8ccd8082e12230a1e
1 /*
2 * Copyright 2023 Zhiyi Zhang for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 import "wtypes.idl";
20 import "unknwn.idl";
23 local,
24 object,
25 uuid(cbfd91d9-51b2-45e4-b3de-d19ccfb863c5),
26 pointer_default(unique)
28 interface IDCompositionAnimation : IUnknown
30 HRESULT Reset();
31 HRESULT SetAbsoluteBeginTime([in] LARGE_INTEGER time);
32 HRESULT AddCubic([in] double offset, [in] float constant_coefficient, [in] float linear_coefficient, [in] float quadratic_coefficient, [in] float cubic_coefficient);
33 HRESULT AddSinusoidal([in] double offset, [in] float bias, [in] float amplitude, [in] float frequency, [in] float phase);
34 HRESULT AddRepeat([in] double offset, [in] double duration);
35 HRESULT End([in] double offset, [in] float value);