+++ /dev/null
-/*\r
- * Copyright (C) 2009 Huw Davies\r
- *\r
- * This library is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU Lesser General Public\r
- * License as published by the Free Software Foundation; either\r
- * version 2.1 of the License, or (at your option) any later version.\r
- *\r
- * This library is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
- * Lesser General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU Lesser General Public\r
- * License along with this library; if not, write to the Free Software\r
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA\r
- */\r
-\r
-[\r
- object,\r
- uuid(0c733a96-2a1c-11ce-ade5-00aa0044773d),\r
- pointer_default(unique)\r
-]\r
-interface IDBAsynchNotify : IUnknown\r
-{\r
- [local]\r
- HRESULT OnLowResource([in] DB_DWRESERVE dwReserved);\r
-\r
- [call_as(OnLowResource)]\r
- HRESULT RemoteOnLowResource([in] DB_DWRESERVE dwReserved);\r
-\r
- [local]\r
- HRESULT OnProgress([in] HCHAPTER hChapter,\r
- [in] DBASYNCHOP eOperation,\r
- [in] DBCOUNTITEM ulProgress,\r
- [in] DBCOUNTITEM ulProgressMax,\r
- [in] DBASYNCHPHASE eAsynchPhase,\r
- [in, annotation("__in_opt")] LPOLESTR pwszStatusText);\r
-\r
- [call_as(OnProgress)]\r
- HRESULT RemoteOnProgress([in] HCHAPTER hChapter,\r
- [in] DBASYNCHOP eOperation,\r
- [in] DBCOUNTITEM ulProgress,\r
- [in] DBCOUNTITEM ulProgressMax,\r
- [in] DBASYNCHPHASE eAsynchPhase,\r
- [in, unique, string] LPOLESTR pwszStatusText);\r
-\r
- [local]\r
- HRESULT OnStop([in] HCHAPTER hChapter,\r
- [in] DBASYNCHOP eOperation,\r
- [in] HRESULT hrStatus,\r
- [in, annotation("__in_opt")] LPOLESTR pwszStatusText);\r
-\r
- [call_as(OnStop)]\r
- HRESULT RemoteOnStop([in] HCHAPTER hChapter,\r
- [in] DBASYNCHOP eOperation,\r
- [in] HRESULT hrStatus,\r
- [in, unique, string] LPOLESTR pwszStatusText);\r
-}\r