include: Add asynot.idl.

This commit is contained in:
Huw Davies 2009-11-11 10:48:44 +00:00 committed by Alexandre Julliard
parent 456835f360
commit cf8c3eca41
6 changed files with 123 additions and 0 deletions

View File

@ -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;
}

View File

@ -105,6 +105,7 @@ SRCDIR_INCLUDES = \
advpub.h \
af_irda.h \
appmgmt.h \
asynot.idl \
audevcod.h \
audiosessiontypes.h \
aviriff.h \

59
include/asynot.idl Normal file
View File

@ -0,0 +1,59 @@
/*
* 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);
}

View File

@ -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;

View File

@ -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"

View File

@ -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,