Commit cf8c3eca authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

include: Add asynot.idl.

parent 456835f3
......@@ -773,3 +773,47 @@ HRESULT __RPC_STUB ICommandText_SetCommandText_Stub(ICommandText* This, REFGUID
return hr;
}
HRESULT CALLBACK IDBAsynchNotify_OnLowResource_Proxy(IDBAsynchNotify* This, DB_DWRESERVE dwReserved)
{
FIXME("(%p)->(%08x): stub\n", This, dwReserved);
return E_NOTIMPL;
}
HRESULT __RPC_STUB IDBAsynchNotify_OnLowResource_Stub(IDBAsynchNotify* This, DB_DWRESERVE dwReserved)
{
FIXME("(%p)->(%08x): stub\n", This, dwReserved);
return E_NOTIMPL;
}
HRESULT CALLBACK IDBAsynchNotify_OnProgress_Proxy(IDBAsynchNotify* This, HCHAPTER hChapter, DBASYNCHOP eOperation,
DBCOUNTITEM ulProgress, DBCOUNTITEM ulProgressMax, DBASYNCHPHASE eAsynchPhase,
LPOLESTR pwszStatusText)
{
FIXME("(%p)->(%lx, %d, %d, %d, %d, %s): stub\n", This, hChapter, eOperation, ulProgress, ulProgressMax,
eAsynchPhase, debugstr_w(pwszStatusText));
return E_NOTIMPL;
}
HRESULT __RPC_STUB IDBAsynchNotify_OnProgress_Stub(IDBAsynchNotify* This, HCHAPTER hChapter, DBASYNCHOP eOperation,
DBCOUNTITEM ulProgress, DBCOUNTITEM ulProgressMax, DBASYNCHPHASE eAsynchPhase,
LPOLESTR pwszStatusText)
{
FIXME("(%p)->(%lx, %d, %d, %d, %d, %s): stub\n", This, hChapter, eOperation, ulProgress, ulProgressMax,
eAsynchPhase, debugstr_w(pwszStatusText));
return E_NOTIMPL;
}
HRESULT CALLBACK IDBAsynchNotify_OnStop_Proxy(IDBAsynchNotify* This, HCHAPTER hChapter, DBASYNCHOP eOperation,
HRESULT hrStatus, LPOLESTR pwszStatusText)
{
FIXME("(%p)->(%lx, %d, %08x, %s): stub\n", This, hChapter, eOperation, hrStatus, debugstr_w(pwszStatusText));
return E_NOTIMPL;
}
HRESULT __RPC_STUB IDBAsynchNotify_OnStop_Stub(IDBAsynchNotify* This, HCHAPTER hChapter, DBASYNCHOP eOperation,
HRESULT hrStatus, LPOLESTR pwszStatusText)
{
FIXME("(%p)->(%lx, %d, %08x, %s): stub\n", This, hChapter, eOperation, hrStatus, debugstr_w(pwszStatusText));
return E_NOTIMPL;
}
......@@ -105,6 +105,7 @@ SRCDIR_INCLUDES = \
advpub.h \
af_irda.h \
appmgmt.h \
asynot.idl \
audevcod.h \
audiosessiontypes.h \
aviriff.h \
......
/*
* Copyright (C) 2009 Huw Davies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
[
object,
uuid(0c733a96-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IDBAsynchNotify : IUnknown
{
[local]
HRESULT OnLowResource([in] DB_DWRESERVE dwReserved);
[call_as(OnLowResource)]
HRESULT RemoteOnLowResource([in] DB_DWRESERVE dwReserved);
[local]
HRESULT OnProgress([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation,
[in] DBCOUNTITEM ulProgress,
[in] DBCOUNTITEM ulProgressMax,
[in] DBASYNCHPHASE eAsynchPhase,
[in, annotation("__in_opt")] LPOLESTR pwszStatusText);
[call_as(OnProgress)]
HRESULT RemoteOnProgress([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation,
[in] DBCOUNTITEM ulProgress,
[in] DBCOUNTITEM ulProgressMax,
[in] DBASYNCHPHASE eAsynchPhase,
[in, unique, string] LPOLESTR pwszStatusText);
[local]
HRESULT OnStop([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation,
[in] HRESULT hrStatus,
[in, annotation("__in_opt")] LPOLESTR pwszStatusText);
[call_as(OnStop)]
HRESULT RemoteOnStop([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation,
[in] HRESULT hrStatus,
[in, unique, string] LPOLESTR pwszStatusText);
}
......@@ -287,6 +287,23 @@ typedef struct tagDBPARAMS
HACCESSOR hAccessor;
} DBPARAMS;
typedef DWORD DBASYNCHOP;
enum DBASYNCHOPENUM
{
DBSYNCHOP_OPEN,
};
typedef DWORD DBASYNCHPHASE;
enum DBASYNCHPHASEENUM
{
DBASYNCHPHASE_INITIALIZATION,
DBASYNCHPHASE_POPULATION,
DBASYNCHPHASE_COMPLETE,
DBASYNCHPHASE_CANCELED,
};
typedef struct tagRMTPACK
{
ISequentialStream *pISeqStream;
......
......@@ -54,6 +54,7 @@ typedef DWORD DBHASHVALUE;
#include "dbprop.idl"
#include "dbinit.idl"
#include "dbdsad.idl"
#include "asynot.idl"
#include "sesprp.idl"
#include "opnrst.idl"
#include "row.idl"
......
......@@ -110,6 +110,7 @@ my %exported_wine_headers = (
my %private_idl_headers = (
"access.idl" => 1,
"asynot.idl" => 1,
"axcore.idl" => 1,
"axextend.idl" => 1,
"binres.idl" => 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment