windowscodecs: Fix interlaced PNG writing.
[wine.git] / include / ocmm.idl
blob0d2c2c0bb15b683ae6ba786261876b78be9682d1
1 /*
2 * Copyright 2006 Matthew Kehrer
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 "oaidl.idl";
20 import "oleidl.idl";
22 cpp_quote("EXTERN_C const GUID NAMEDTIMER_DRAW;")
25 object,
26 uuid(3050F361-98B5-11CF-BB82-00AA00BDCE0B),
27 pointer_default(unique)
29 interface ITimerSink : IUnknown
31 HRESULT OnTimer([in] VARIANT vtimeAdvise);
36 object,
37 uuid(3050F360-98B5-11CF-BB82-00AA00BDCE0B),
38 pointer_default(unique)
40 interface ITimer : IUnknown
42 HRESULT Advise([in] VARIANT vtimeMin,
43 [in] VARIANT vtimeMax,
44 [in] VARIANT vtimeInterval,
45 [in] DWORD dwFlags,
46 [in] ITimerSink *pTimerSink,
47 [out] DWORD *pdwCookie);
49 HRESULT Unadvise([in] DWORD dwCookie);
51 HRESULT Freeze([in] BOOL fFreeze);
53 HRESULT GetTime([out] VARIANT *pvtime);
58 object,
59 uuid(3050F35F-98B5-11CF-BB82-00AA00BDCE0B),
60 pointer_default(unique)
62 interface ITimerService : IUnknown
64 HRESULT CreateTimer([in] ITimer *pReferenceTimer,
65 [out] ITimer **ppNewTimer);
67 HRESULT GetNamedTimer([in] REFGUID rguidName,
68 [out] ITimer **ppTimer);
70 HRESULT SetNamedTimerReference([in] REFGUID rguidName,
71 [in] ITimer *pReferenceTimer);
74 cpp_quote("#define SID_STimerService IID_ITimerService")