schedsvc: Remove job from the list when job file is deleted.
[wine.git] / include / asynot.idl
blob83a45aa17fbf75fec7348f4bb2a96c3a4f313a3c
1 /*
2 * Copyright (C) 2009 Huw Davies
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 #if 0
20 #pragma makedep install
21 #endif
24 object,
25 uuid(0c733a96-2a1c-11ce-ade5-00aa0044773d),
26 pointer_default(unique)
28 interface IDBAsynchNotify : IUnknown
30 [local]
31 HRESULT OnLowResource([in] DB_DWRESERVE dwReserved);
33 [call_as(OnLowResource)]
34 HRESULT RemoteOnLowResource([in] DB_DWRESERVE dwReserved);
36 [local]
37 HRESULT OnProgress([in] HCHAPTER hChapter,
38 [in] DBASYNCHOP eOperation,
39 [in] DBCOUNTITEM ulProgress,
40 [in] DBCOUNTITEM ulProgressMax,
41 [in] DBASYNCHPHASE eAsynchPhase,
42 [in, annotation("__in_opt")] LPOLESTR pwszStatusText);
44 [call_as(OnProgress)]
45 HRESULT RemoteOnProgress([in] HCHAPTER hChapter,
46 [in] DBASYNCHOP eOperation,
47 [in] DBCOUNTITEM ulProgress,
48 [in] DBCOUNTITEM ulProgressMax,
49 [in] DBASYNCHPHASE eAsynchPhase,
50 [in, unique, string] LPOLESTR pwszStatusText);
52 [local]
53 HRESULT OnStop([in] HCHAPTER hChapter,
54 [in] DBASYNCHOP eOperation,
55 [in] HRESULT hrStatus,
56 [in, annotation("__in_opt")] LPOLESTR pwszStatusText);
58 [call_as(OnStop)]
59 HRESULT RemoteOnStop([in] HCHAPTER hChapter,
60 [in] DBASYNCHOP eOperation,
61 [in] HRESULT hrStatus,
62 [in, unique, string] LPOLESTR pwszStatusText);