d3drm: Load all sub-objects when a frame is found.
[wine] / include / asynot.idl
1 /*
2  * Copyright (C) 2009 Huw Davies
3  *
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.
8  *
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.
13  *
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
17  */
18
19 [
20     object,
21     uuid(0c733a96-2a1c-11ce-ade5-00aa0044773d),
22     pointer_default(unique)
23 ]
24 interface IDBAsynchNotify : IUnknown
25 {
26     [local]
27     HRESULT OnLowResource([in] DB_DWRESERVE dwReserved);
28
29     [call_as(OnLowResource)]
30     HRESULT RemoteOnLowResource([in] DB_DWRESERVE dwReserved);
31
32     [local]
33     HRESULT OnProgress([in] HCHAPTER hChapter,
34                        [in] DBASYNCHOP eOperation,
35                        [in] DBCOUNTITEM ulProgress,
36                        [in] DBCOUNTITEM ulProgressMax,
37                        [in] DBASYNCHPHASE eAsynchPhase,
38                        [in, annotation("__in_opt")] LPOLESTR pwszStatusText);
39
40     [call_as(OnProgress)]
41     HRESULT RemoteOnProgress([in] HCHAPTER hChapter,
42                              [in] DBASYNCHOP eOperation,
43                              [in] DBCOUNTITEM ulProgress,
44                              [in] DBCOUNTITEM ulProgressMax,
45                              [in] DBASYNCHPHASE eAsynchPhase,
46                              [in, unique, string] LPOLESTR pwszStatusText);
47
48     [local]
49     HRESULT OnStop([in] HCHAPTER hChapter,
50                    [in] DBASYNCHOP eOperation,
51                    [in] HRESULT hrStatus,
52                    [in, annotation("__in_opt")] LPOLESTR pwszStatusText);
53
54     [call_as(OnStop)]
55     HRESULT RemoteOnStop([in] HCHAPTER hChapter,
56                          [in] DBASYNCHOP eOperation,
57                          [in] HRESULT hrStatus,
58                          [in, unique, string] LPOLESTR pwszStatusText);
59 }