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
20 #pragma makedep install
25 uuid(0c733a96
-2a1c
-11ce
-ade5
-00aa0044773d
),
26 pointer_default(unique)
28 interface IDBAsynchNotify
: IUnknown
31 HRESULT OnLowResource
([in] DB_DWRESERVE dwReserved
);
33 [call_as
(OnLowResource
)]
34 HRESULT RemoteOnLowResource
([in] DB_DWRESERVE dwReserved
);
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
);
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
);
53 HRESULT OnStop
([in] HCHAPTER hChapter
,
54 [in] DBASYNCHOP eOperation
,
55 [in] HRESULT hrStatus
,
56 [in, annotation
("__in_opt")] LPOLESTR pwszStatusText
);
59 HRESULT RemoteOnStop
([in] HCHAPTER hChapter
,
60 [in] DBASYNCHOP eOperation
,
61 [in] HRESULT hrStatus
,
62 [in, unique, string] LPOLESTR pwszStatusText
);