Add .gitattributes and .gitignore files and normalize line endings in the repository (#10)

This commit is contained in:
Colin Finck 2017-10-04 20:37:32 +02:00 committed by GitHub
parent c609406c2f
commit 9ebf43567d
309 changed files with 66975 additions and 66873 deletions

View file

@ -1,79 +1,79 @@
/*
* 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(0c733a8c-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IAccessor : IUnknown
{
typedef DWORD DBACCESSORFLAGS;
typedef DWORD DBBINDSTATUS;
[local]
HRESULT AddRefAccessor([in] HACCESSOR hAccessor,
[in, out, unique, annotation("__out_opt")] DBREFCOUNT *pcRefCount);
[call_as(AddRefAccessor)]
HRESULT RemoteAddRefAccessor([in] HACCESSOR hAccessor,
[in, out, unique] DBREFCOUNT *pcRefCount,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT CreateAccessor([in] DBACCESSORFLAGS dwAccessorFlags,
[in] DBCOUNTITEM cBindings,
[in, size_is(cBindings), annotation("__in_ecount(cBindings)")] const DBBINDING rgBindings[],
[in] DBLENGTH cbRowSize,
[out, annotation("__out")] HACCESSOR *phAccessor,
[out, size_is(cBindings), annotation("__out_ecount_opt(cBindings)")] DBBINDSTATUS rgStatus[]);
[call_as(CreateAccessor)]
HRESULT RemoteCreateAccessor([in] DBACCESSORFLAGS dwAccessorFlags,
[in] DBCOUNTITEM cBindings,
[in, unique, size_is((ULONG)cBindings)] DBBINDING *rgBindings,
[in] DBLENGTH cbRowSize,
[out] HACCESSOR *phAccessor,
[in, out, unique, size_is((ULONG)cBindings)] DBBINDSTATUS *rgStatus,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT GetBindings([in] HACCESSOR hAccessor,
[out, annotation("__out")] DBACCESSORFLAGS *pdwAccessorFlags,
[in, out, annotation("__out_opt")] DBCOUNTITEM *pcBindings,
[out, size_is(,*pcBindings), annotation("__deref_out_ecount_opt(*pcBindings)")] DBBINDING **prgBindings);
[call_as(GetBindings)]
HRESULT RemoteGetBindings([in] HACCESSOR hAccessor,
[out] DBACCESSORFLAGS *pdwAccessorFlags,
[in, out] DBCOUNTITEM *pcBindings,
[out, size_is(,(ULONG)*pcBindings)] DBBINDING **prgBindings,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT ReleaseAccessor([in] HACCESSOR hAccessor,
[in, out, unique, annotation("__out_opt")] DBREFCOUNT *pcRefCount);
[call_as(ReleaseAccessor)]
HRESULT RemoteReleaseAccessor([in] HACCESSOR hAccessor,
[in, out, unique] DBREFCOUNT *pcRefCount,
[out] IErrorInfo **ppErrorInfoRem);
};
/*
* 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(0c733a8c-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IAccessor : IUnknown
{
typedef DWORD DBACCESSORFLAGS;
typedef DWORD DBBINDSTATUS;
[local]
HRESULT AddRefAccessor([in] HACCESSOR hAccessor,
[in, out, unique, annotation("__out_opt")] DBREFCOUNT *pcRefCount);
[call_as(AddRefAccessor)]
HRESULT RemoteAddRefAccessor([in] HACCESSOR hAccessor,
[in, out, unique] DBREFCOUNT *pcRefCount,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT CreateAccessor([in] DBACCESSORFLAGS dwAccessorFlags,
[in] DBCOUNTITEM cBindings,
[in, size_is(cBindings), annotation("__in_ecount(cBindings)")] const DBBINDING rgBindings[],
[in] DBLENGTH cbRowSize,
[out, annotation("__out")] HACCESSOR *phAccessor,
[out, size_is(cBindings), annotation("__out_ecount_opt(cBindings)")] DBBINDSTATUS rgStatus[]);
[call_as(CreateAccessor)]
HRESULT RemoteCreateAccessor([in] DBACCESSORFLAGS dwAccessorFlags,
[in] DBCOUNTITEM cBindings,
[in, unique, size_is((ULONG)cBindings)] DBBINDING *rgBindings,
[in] DBLENGTH cbRowSize,
[out] HACCESSOR *phAccessor,
[in, out, unique, size_is((ULONG)cBindings)] DBBINDSTATUS *rgStatus,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT GetBindings([in] HACCESSOR hAccessor,
[out, annotation("__out")] DBACCESSORFLAGS *pdwAccessorFlags,
[in, out, annotation("__out_opt")] DBCOUNTITEM *pcBindings,
[out, size_is(,*pcBindings), annotation("__deref_out_ecount_opt(*pcBindings)")] DBBINDING **prgBindings);
[call_as(GetBindings)]
HRESULT RemoteGetBindings([in] HACCESSOR hAccessor,
[out] DBACCESSORFLAGS *pdwAccessorFlags,
[in, out] DBCOUNTITEM *pcBindings,
[out, size_is(,(ULONG)*pcBindings)] DBBINDING **prgBindings,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT ReleaseAccessor([in] HACCESSOR hAccessor,
[in, out, unique, annotation("__out_opt")] DBREFCOUNT *pcRefCount);
[call_as(ReleaseAccessor)]
HRESULT RemoteReleaseAccessor([in] HACCESSOR hAccessor,
[in, out, unique] DBREFCOUNT *pcRefCount,
[out] IErrorInfo **ppErrorInfoRem);
};

View file

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

@ -1,51 +1,51 @@
/*
* 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(0c733a95-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IDBAsynchStatus : IUnknown
{
[local]
HRESULT Abort([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation);
[call_as(Abort)]
HRESULT RemoteAbort([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT GetStatus([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation,
[out, annotation("__out_opt")] DBCOUNTITEM *pulProgress,
[out, annotation("__out_opt")] DBCOUNTITEM *pulProgressMax,
[out, annotation("__out")] DBASYNCHPHASE *peAsynchPhase,
[out, annotation("__deref_opt_inout_opt")] LPOLESTR *ppwszStatusText);
[call_as(GetStatus)]
HRESULT RemoteGetStatus([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation,
[in, out, unique] DBCOUNTITEM *pulProgress,
[in, out, unique] DBCOUNTITEM *pulProgressMax,
[in, out, unique] DBASYNCHPHASE *peAsynchPhase,
[in, out, unique] LPOLESTR *ppwszStatusText,
[out] IErrorInfo **ppErrorInfoRem);
}
/*
* 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(0c733a95-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IDBAsynchStatus : IUnknown
{
[local]
HRESULT Abort([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation);
[call_as(Abort)]
HRESULT RemoteAbort([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT GetStatus([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation,
[out, annotation("__out_opt")] DBCOUNTITEM *pulProgress,
[out, annotation("__out_opt")] DBCOUNTITEM *pulProgressMax,
[out, annotation("__out")] DBASYNCHPHASE *peAsynchPhase,
[out, annotation("__deref_opt_inout_opt")] LPOLESTR *ppwszStatusText);
[call_as(GetStatus)]
HRESULT RemoteGetStatus([in] HCHAPTER hChapter,
[in] DBASYNCHOP eOperation,
[in, out, unique] DBCOUNTITEM *pulProgress,
[in, out, unique] DBCOUNTITEM *pulProgressMax,
[in, out, unique] DBASYNCHPHASE *peAsynchPhase,
[in, out, unique] LPOLESTR *ppwszStatusText,
[out] IErrorInfo **ppErrorInfoRem);
}

File diff suppressed because it is too large Load diff

View file

@ -1,49 +1,49 @@
/*
* 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(0c733ab1-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IBindResource : IUnknown
{
[local]
HRESULT Bind([in] IUnknown *pUnkOuter,
[in] LPCOLESTR pwszURL,
[in] DBBINDURLFLAG dwBindURLFlags,
[in] REFGUID rguid,
[in] REFIID riid,
[in] IAuthenticate *pAuthenticate,
[in, out, unique] DBIMPLICITSESSION *pImplSession,
[in, out, unique] DBBINDURLSTATUS *pdwBindStatus,
[out, iid_is(riid)] IUnknown **ppUnk);
[call_as(Bind)]
HRESULT RemoteBind([in] IUnknown *pUnkOuter,
[in] LPCOLESTR pwszURL,
[in] DBBINDURLFLAG dwBindURLFlags,
[in] REFGUID rguid,
[in] REFIID riid,
[in] IAuthenticate *pAuthenticate,
[in] IUnknown *pSessionUnkOuter,
[in, unique] IID *piid,
[in, out, unique, iid_is(piid)] IUnknown **ppSession,
[in, out, unique] DBBINDURLSTATUS *pdwBindStatus,
[out, iid_is(riid)] IUnknown **ppUnk);
}
/*
* 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(0c733ab1-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IBindResource : IUnknown
{
[local]
HRESULT Bind([in] IUnknown *pUnkOuter,
[in] LPCOLESTR pwszURL,
[in] DBBINDURLFLAG dwBindURLFlags,
[in] REFGUID rguid,
[in] REFIID riid,
[in] IAuthenticate *pAuthenticate,
[in, out, unique] DBIMPLICITSESSION *pImplSession,
[in, out, unique] DBBINDURLSTATUS *pdwBindStatus,
[out, iid_is(riid)] IUnknown **ppUnk);
[call_as(Bind)]
HRESULT RemoteBind([in] IUnknown *pUnkOuter,
[in] LPCOLESTR pwszURL,
[in] DBBINDURLFLAG dwBindURLFlags,
[in] REFGUID rguid,
[in] REFIID riid,
[in] IAuthenticate *pAuthenticate,
[in] IUnknown *pSessionUnkOuter,
[in, unique] IID *piid,
[in, out, unique, iid_is(piid)] IUnknown **ppSession,
[in, out, unique] DBBINDURLSTATUS *pdwBindStatus,
[out, iid_is(riid)] IUnknown **ppUnk);
}

View file

@ -1,62 +1,62 @@
/*
* 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(0c733a63-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface ICommand : IUnknown
{
[local]
HRESULT Cancel();
[call_as(Cancel)]
HRESULT RemoteCancel([out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT Execute([in, annotation("__in_opt")] IUnknown *pUnkOuter,
[in] REFIID riid,
[in, out, annotation("__inout_opt")] DBPARAMS *pParams,
[out, annotation("__out_opt")] DBROWCOUNT *pcRowsAffected,
[out, iid_is(riid), annotation("__deref_opt_out")] IUnknown **ppRowset);
[call_as(Execute)]
HRESULT RemoteExecute([in] IUnknown *pUnkOuter,
[in] REFIID riid,
[in] HACCESSOR hAccessor,
[in] DB_UPARAMS cParamSets,
[in, unique] GUID *pGuid,
[in] ULONG ulGuidOffset,
[in, unique] RMTPACK *pInputParams,
[in, out, unique] RMTPACK *pOutputParams,
[in] DBCOUNTITEM cBindings,
[in, unique, size_is(cBindings)] DBBINDING *rgBindings,
[in, out, unique, size_is(cBindings)] DBSTATUS *rgStatus,
[in, out, unique] DBROWCOUNT *pcRowsAffected,
[in, out, unique, iid_is(riid)] IUnknown **ppRowset);
[local]
HRESULT GetDBSession([in] REFIID riid,
[out, iid_is(riid), annotation("__deref_out_opt")] IUnknown **ppSession);
[call_as(GetDBSession)]
HRESULT RemoteGetDBSession([in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppSession,
[out] IErrorInfo **ppErrorInfoRem);
};
/*
* 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(0c733a63-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface ICommand : IUnknown
{
[local]
HRESULT Cancel();
[call_as(Cancel)]
HRESULT RemoteCancel([out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT Execute([in, annotation("__in_opt")] IUnknown *pUnkOuter,
[in] REFIID riid,
[in, out, annotation("__inout_opt")] DBPARAMS *pParams,
[out, annotation("__out_opt")] DBROWCOUNT *pcRowsAffected,
[out, iid_is(riid), annotation("__deref_opt_out")] IUnknown **ppRowset);
[call_as(Execute)]
HRESULT RemoteExecute([in] IUnknown *pUnkOuter,
[in] REFIID riid,
[in] HACCESSOR hAccessor,
[in] DB_UPARAMS cParamSets,
[in, unique] GUID *pGuid,
[in] ULONG ulGuidOffset,
[in, unique] RMTPACK *pInputParams,
[in, out, unique] RMTPACK *pOutputParams,
[in] DBCOUNTITEM cBindings,
[in, unique, size_is(cBindings)] DBBINDING *rgBindings,
[in, out, unique, size_is(cBindings)] DBSTATUS *rgStatus,
[in, out, unique] DBROWCOUNT *pcRowsAffected,
[in, out, unique, iid_is(riid)] IUnknown **ppRowset);
[local]
HRESULT GetDBSession([in] REFIID riid,
[out, iid_is(riid), annotation("__deref_out_opt")] IUnknown **ppSession);
[call_as(GetDBSession)]
HRESULT RemoteGetDBSession([in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppSession,
[out] IErrorInfo **ppErrorInfoRem);
};

View file

@ -1,44 +1,44 @@
/*
* 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(0c733a27-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface ICommandText : ICommand
{
[local]
HRESULT GetCommandText([in, out /*, annotation("__inout_opt")*/] GUID *pguidDialect,
[out /*, annotation("__deref_out")*/] LPOLESTR *ppwszCommand);
[call_as(GetCommandText)]
HRESULT RemoteGetCommandText([in, out, unique] GUID *pguidDialect,
[out] LPOLESTR *ppwszCommand,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT SetCommandText([in] REFGUID rguidDialect,
[in, unique /*, annotation("__in_z_opt")*/] LPCOLESTR pwszCommand);
[call_as(SetCommandText)]
HRESULT RemoteSetCommandText([in] REFGUID rguidDialect,
[in, unique] LPCOLESTR pwszCommand,
[out] IErrorInfo **ppErrorInfoRem);
};
/*
* 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(0c733a27-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface ICommandText : ICommand
{
[local]
HRESULT GetCommandText([in, out /*, annotation("__inout_opt")*/] GUID *pguidDialect,
[out /*, annotation("__deref_out")*/] LPOLESTR *ppwszCommand);
[call_as(GetCommandText)]
HRESULT RemoteGetCommandText([in, out, unique] GUID *pguidDialect,
[out] LPOLESTR *ppwszCommand,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT SetCommandText([in] REFGUID rguidDialect,
[in, unique /*, annotation("__in_z_opt")*/] LPCOLESTR pwszCommand);
[call_as(SetCommandText)]
HRESULT RemoteSetCommandText([in] REFGUID rguidDialect,
[in, unique] LPCOLESTR pwszCommand,
[out] IErrorInfo **ppErrorInfoRem);
};

View file

@ -1,51 +1,51 @@
/*
* 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(0c733ab2-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface ICreateRow : IUnknown
{
[local]
HRESULT CreateRow([in, unique] IUnknown *pUnkOuter,
[in] LPCOLESTR pwszURL,
[in] DBBINDURLFLAG dwBindURLFlags,
[in] REFGUID rguid,
[in] REFIID riid,
[in, unique] IAuthenticate *pAuthenticate,
[in, out, unique] DBIMPLICITSESSION *pImplSession,
[in, out, unique] DBBINDURLSTATUS *pdwBindStatus,
[out, annotation("__deref_opt_out_opt")] LPOLESTR *ppwszNewURL,
[out, iid_is(riid)] IUnknown **ppUnk);
[call_as(CreateRow)]
HRESULT RemoteCreateRow([in] IUnknown *pUnkOuter,
[in] LPCOLESTR pwszURL,
[in] DBBINDURLFLAG dwBindURLFlags,
[in] REFGUID rguid,
[in] REFIID riid,
[in] IAuthenticate *pAuthenticate,
[in] IUnknown *pSessionUnkOuter,
[in, unique] IID *piid,
[in, out, unique, iid_is(piid)] IUnknown **ppSession,
[in, out, unique] DBBINDURLSTATUS *pdwBindStatus,
[in, out, unique] LPOLESTR *ppwszNewURL,
[out, iid_is(riid)] IUnknown **ppUnk);
}
/*
* 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(0c733ab2-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface ICreateRow : IUnknown
{
[local]
HRESULT CreateRow([in, unique] IUnknown *pUnkOuter,
[in] LPCOLESTR pwszURL,
[in] DBBINDURLFLAG dwBindURLFlags,
[in] REFGUID rguid,
[in] REFIID riid,
[in, unique] IAuthenticate *pAuthenticate,
[in, out, unique] DBIMPLICITSESSION *pImplSession,
[in, out, unique] DBBINDURLSTATUS *pdwBindStatus,
[out, annotation("__deref_opt_out_opt")] LPOLESTR *ppwszNewURL,
[out, iid_is(riid)] IUnknown **ppUnk);
[call_as(CreateRow)]
HRESULT RemoteCreateRow([in] IUnknown *pUnkOuter,
[in] LPCOLESTR pwszURL,
[in] DBBINDURLFLAG dwBindURLFlags,
[in] REFGUID rguid,
[in] REFIID riid,
[in] IAuthenticate *pAuthenticate,
[in] IUnknown *pSessionUnkOuter,
[in, unique] IID *piid,
[in, out, unique, iid_is(piid)] IUnknown **ppSession,
[in, out, unique] DBBINDURLSTATUS *pdwBindStatus,
[in, out, unique] LPOLESTR *ppwszNewURL,
[out, iid_is(riid)] IUnknown **ppUnk);
}

View file

@ -1,36 +1,36 @@
/*
* 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(0c733a1d-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IDBCreateCommand : IUnknown
{
[local]
HRESULT CreateCommand([in] IUnknown *pUnkOuter,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppCommand);
[call_as(CreateCommand)]
HRESULT RemoteCreateCommand([in] IUnknown *pUnkOuter,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppCommand,
[out] IErrorInfo **ppErrorInfoRem);
}
/*
* 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(0c733a1d-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IDBCreateCommand : IUnknown
{
[local]
HRESULT CreateCommand([in] IUnknown *pUnkOuter,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppCommand);
[call_as(CreateCommand)]
HRESULT RemoteCreateCommand([in] IUnknown *pUnkOuter,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppCommand,
[out] IErrorInfo **ppErrorInfoRem);
}

View file

@ -1,36 +1,36 @@
/*
* 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(0c733a5d-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IDBCreateSession : IUnknown
{
[local]
HRESULT CreateSession([in] IUnknown *pUnkOuter,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppDBSession);
[call_as(CreateSession)]
HRESULT RemoteCreateSession([in] IUnknown *pUnkOuter,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppDBSession,
[out] IErrorInfo **ppErrorInfoRem);
}
/*
* 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(0c733a5d-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IDBCreateSession : IUnknown
{
[local]
HRESULT CreateSession([in] IUnknown *pUnkOuter,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppDBSession);
[call_as(CreateSession)]
HRESULT RemoteCreateSession([in] IUnknown *pUnkOuter,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppDBSession,
[out] IErrorInfo **ppErrorInfoRem);
}

View file

@ -1,75 +1,75 @@
/*
* 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(0c733a7a-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IDBDataSourceAdmin : IUnknown
{
[local]
HRESULT CreateDataSource([in] ULONG cPropertySets,
[in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[],
[in] IUnknown *pUnkOuter,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppDBSession);
[call_as(CreateDataSource)]
HRESULT RemoteCreateDataSource([in] ULONG cPropertySets,
[in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
[in] IUnknown *pUnkOuter,
[in] REFIID riid,
[in, out, unique, iid_is(riid)] IUnknown **ppDBSession,
[in] ULONG cTotalProps,
[out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT DestroyDataSource();
[call_as(DestroyDataSource)]
HRESULT RemoteDestroyDataSource([out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT GetCreationProperties([in] ULONG cPropertyIDSets,
[in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[],
[in, out] ULONG *pcPropertyInfoSets,
[out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets,
[out, annotation("__deref_out_z_opt")] OLECHAR **ppDescBuffer);
[call_as(GetCreationProperties)]
HRESULT RemoteGetCreationProperties([in] ULONG cPropertyIDSets,
[in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
[in, out] ULONG *pcPropertyInfoSets,
[out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets,
[in, out] DBCOUNTITEM *pcOffsets,
[out, size_is(,(ULONG)*pcOffsets)] DBBYTEOFFSET **prgDescOffsets,
[in, out] ULONG *pcbDescBuffer,
[in, out, unique, size_is(,*pcbDescBuffer)] OLECHAR **ppDescBuffer,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT ModifyDataSource([in] ULONG cPropertySets,
[in, size_is(cPropertySets)] DBPROPSET rgPropertySets[]);
[call_as(ModifyDataSource)]
HRESULT RemoteModifyDataSource([in] ULONG cPropertySets,
[in, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
[out] IErrorInfo **ppErrorInfoRem);
}
/*
* 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(0c733a7a-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IDBDataSourceAdmin : IUnknown
{
[local]
HRESULT CreateDataSource([in] ULONG cPropertySets,
[in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[],
[in] IUnknown *pUnkOuter,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppDBSession);
[call_as(CreateDataSource)]
HRESULT RemoteCreateDataSource([in] ULONG cPropertySets,
[in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
[in] IUnknown *pUnkOuter,
[in] REFIID riid,
[in, out, unique, iid_is(riid)] IUnknown **ppDBSession,
[in] ULONG cTotalProps,
[out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT DestroyDataSource();
[call_as(DestroyDataSource)]
HRESULT RemoteDestroyDataSource([out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT GetCreationProperties([in] ULONG cPropertyIDSets,
[in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[],
[in, out] ULONG *pcPropertyInfoSets,
[out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets,
[out, annotation("__deref_out_z_opt")] OLECHAR **ppDescBuffer);
[call_as(GetCreationProperties)]
HRESULT RemoteGetCreationProperties([in] ULONG cPropertyIDSets,
[in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
[in, out] ULONG *pcPropertyInfoSets,
[out, size_is(,*pcPropertyInfoSets)] DBPROPINFOSET **prgPropertyInfoSets,
[in, out] DBCOUNTITEM *pcOffsets,
[out, size_is(,(ULONG)*pcOffsets)] DBBYTEOFFSET **prgDescOffsets,
[in, out] ULONG *pcbDescBuffer,
[in, out, unique, size_is(,*pcbDescBuffer)] OLECHAR **ppDescBuffer,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT ModifyDataSource([in] ULONG cPropertySets,
[in, size_is(cPropertySets)] DBPROPSET rgPropertySets[]);
[call_as(ModifyDataSource)]
HRESULT RemoteModifyDataSource([in] ULONG cPropertySets,
[in, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
[out] IErrorInfo **ppErrorInfoRem);
}

View file

@ -1,47 +1,47 @@
/*
* 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(0c733a69-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IOpenRowset : IUnknown
{
[local]
HRESULT OpenRowset([in] IUnknown *pUnkOuter,
[in, unique] DBID *pTableID,
[in, unique] DBID *pIndexID,
[in] REFIID riid,
[in] ULONG cPropertySets,
[in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[],
[out, iid_is(riid)] IUnknown **ppRowset);
[call_as(OpenRowset)]
HRESULT RemoteOpenRowset([in] IUnknown *pUnkOuter,
[in, unique] DBID *pTableID,
[in, unique] DBID *pIndexID,
[in] REFIID riid,
[in] ULONG cPropertySets,
[in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
[in, out, unique, iid_is(riid)] IUnknown **ppRowset,
[in] ULONG cTotalProps,
[out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus,
[out] IErrorInfo **ppErrorInfoRem);
}
/*
* 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(0c733a69-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IOpenRowset : IUnknown
{
[local]
HRESULT OpenRowset([in] IUnknown *pUnkOuter,
[in, unique] DBID *pTableID,
[in, unique] DBID *pIndexID,
[in] REFIID riid,
[in] ULONG cPropertySets,
[in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[],
[out, iid_is(riid)] IUnknown **ppRowset);
[call_as(OpenRowset)]
HRESULT RemoteOpenRowset([in] IUnknown *pUnkOuter,
[in, unique] DBID *pTableID,
[in, unique] DBID *pIndexID,
[in] REFIID riid,
[in] ULONG cPropertySets,
[in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
[in, out, unique, iid_is(riid)] IUnknown **ppRowset,
[in] ULONG cTotalProps,
[out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus,
[out] IErrorInfo **ppErrorInfoRem);
}

View file

@ -1,42 +1,42 @@
/*
* 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
*/
[
local,
object,
uuid(0c733ab4-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IRow : IUnknown
{
[local]
HRESULT GetColumns([in] DBORDINAL cColumns,
[in, out, size_is(cColumns), annotation("__inout_ecount(cColumns)")] DBCOLUMNACCESS rgColumns[]);
HRESULT GetSourceRowset([in, annotation("__in")] REFIID riid,
[out, iid_is(riid), annotation("__deref_opt_out_opt")] IUnknown **ppRowset,
[out, annotation("__out_opt")] HROW *phRow);
HRESULT Open([in, unique, annotation("__in_opt")] IUnknown *pUnkOuter,
[in, annotation("__in")] DBID *pColumnID,
[in, annotation("__in")] REFGUID rguidColumnType,
[in] DWORD dwBindFlags,
[in, annotation("__in")] REFIID riid,
[out, iid_is(riid), annotation("__deref_opt_out")] IUnknown **ppUnk);
}
/*
* 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
*/
[
local,
object,
uuid(0c733ab4-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IRow : IUnknown
{
[local]
HRESULT GetColumns([in] DBORDINAL cColumns,
[in, out, size_is(cColumns), annotation("__inout_ecount(cColumns)")] DBCOLUMNACCESS rgColumns[]);
HRESULT GetSourceRowset([in, annotation("__in")] REFIID riid,
[out, iid_is(riid), annotation("__deref_opt_out_opt")] IUnknown **ppRowset,
[out, annotation("__out_opt")] HROW *phRow);
HRESULT Open([in, unique, annotation("__in_opt")] IUnknown *pUnkOuter,
[in, annotation("__in")] DBID *pColumnID,
[in, annotation("__in")] REFGUID rguidColumnType,
[in] DWORD dwBindFlags,
[in, annotation("__in")] REFIID riid,
[out, iid_is(riid), annotation("__deref_opt_out")] IUnknown **ppUnk);
}

View file

@ -1,30 +1,30 @@
/*
* 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
*/
[
local,
object,
uuid(0c733ab5-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IRowChange : IUnknown
{
[local]
HRESULT SetColumns([in] DBORDINAL cColumns,
[in, out, size_is(cColumns), annotation("__in_ecount(cColumns)")] DBCOLUMNACCESS rgColumns[]);
}
/*
* 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
*/
[
local,
object,
uuid(0c733ab5-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IRowChange : IUnknown
{
[local]
HRESULT SetColumns([in] DBORDINAL cColumns,
[in, out, size_is(cColumns), annotation("__in_ecount(cColumns)")] DBCOLUMNACCESS rgColumns[]);
}

View file

@ -1,51 +1,51 @@
/*
* 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
*/
[
local,
object,
uuid(0c733a7c-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IRowset : IUnknown
{
typedef DWORD DBROWOPTIONS;
HRESULT AddRefRows([in] DBCOUNTITEM cRows,
[in, size_is(cRows)] const HROW rghRows[],
[out, size_is(cRows)] DBREFCOUNT rgRefCounts[],
[out, size_is(cRows)] DBROWSTATUS rgRowStatus[]);
HRESULT GetData([in] HROW hRow,
[in] HACCESSOR hAccessor,
[out] void *pData);
HRESULT GetNextRows([in] HCHAPTER hReserved,
[in] DBROWOFFSET lRowsOffset,
[in] DBROWCOUNT cRows,
[out] DBCOUNTITEM *pcRowObtained,
[out, size_is(,cRows)] HROW **prghRows);
HRESULT ReleaseRows([in] DBCOUNTITEM cRows,
[in, size_is(cRows)] const HROW rghRows[],
[in, size_is(cRows)] DBROWOPTIONS rgRowOptions[],
[out, size_is(cRows)] DBREFCOUNT rgRefCounts[],
[out, size_is(cRows)] DBROWSTATUS rgRowStatus[]);
HRESULT RestartPosition([in] HCHAPTER hReserved);
}
/*
* 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
*/
[
local,
object,
uuid(0c733a7c-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IRowset : IUnknown
{
typedef DWORD DBROWOPTIONS;
HRESULT AddRefRows([in] DBCOUNTITEM cRows,
[in, size_is(cRows)] const HROW rghRows[],
[out, size_is(cRows)] DBREFCOUNT rgRefCounts[],
[out, size_is(cRows)] DBROWSTATUS rgRowStatus[]);
HRESULT GetData([in] HROW hRow,
[in] HACCESSOR hAccessor,
[out] void *pData);
HRESULT GetNextRows([in] HCHAPTER hReserved,
[in] DBROWOFFSET lRowsOffset,
[in] DBROWCOUNT cRows,
[out] DBCOUNTITEM *pcRowObtained,
[out, size_is(,cRows)] HROW **prghRows);
HRESULT ReleaseRows([in] DBCOUNTITEM cRows,
[in, size_is(cRows)] const HROW rghRows[],
[in, size_is(cRows)] DBROWOPTIONS rgRowOptions[],
[out, size_is(cRows)] DBREFCOUNT rgRefCounts[],
[out, size_is(cRows)] DBROWSTATUS rgRowStatus[]);
HRESULT RestartPosition([in] HCHAPTER hReserved);
}

View file

@ -1,58 +1,58 @@
/*
* 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(0c733a55-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IRowsetInfo : IUnknown
{
[local]
HRESULT GetProperties([in] const ULONG cPropertyIDSets,
[in, size_is(cPropertyIDSets), annotation("__in_ecount_opt(cPropertyIDSets)")] const DBPROPIDSET rgPropertyIDSets[],
[in, out, annotation("__out")] ULONG *pcPropertySets,
[out, size_is(,*pcPropertySets), annotation("__deref_out_ecount_opt(*pcPropertySets)")] DBPROPSET **prgPropertySets);
[call_as(GetProperties)]
HRESULT RemoteGetProperties([in] ULONG cPropertyIDSets,
[in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
[in, out] ULONG *pcPropertySets,
[out, size_is(,*pcPropertySets)] DBPROPSET **prgPropertySets,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT GetReferencedRowset([in] DBORDINAL iOrdinal,
[in, annotation("__in")] REFIID riid,
[out, iid_is(riid), annotation("deref_out_opt")] IUnknown **ppReferencedRowset);
[call_as(GetReferencedRowset)]
HRESULT RemoteGetReferencedRowset([in] DBORDINAL iOrdinal,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppReferencedRowset,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT GetSpecification([in, annotation("__in")] REFIID riid,
[out, iid_is(riid), annotation("__deref_out_opt")] IUnknown **ppSpecification);
[call_as(GetSpecification)]
HRESULT RemoteGetSpecification([in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppSpecification,
[out] IErrorInfo **ppErrorInfoRem);
}
/*
* 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(0c733a55-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IRowsetInfo : IUnknown
{
[local]
HRESULT GetProperties([in] const ULONG cPropertyIDSets,
[in, size_is(cPropertyIDSets), annotation("__in_ecount_opt(cPropertyIDSets)")] const DBPROPIDSET rgPropertyIDSets[],
[in, out, annotation("__out")] ULONG *pcPropertySets,
[out, size_is(,*pcPropertySets), annotation("__deref_out_ecount_opt(*pcPropertySets)")] DBPROPSET **prgPropertySets);
[call_as(GetProperties)]
HRESULT RemoteGetProperties([in] ULONG cPropertyIDSets,
[in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
[in, out] ULONG *pcPropertySets,
[out, size_is(,*pcPropertySets)] DBPROPSET **prgPropertySets,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT GetReferencedRowset([in] DBORDINAL iOrdinal,
[in, annotation("__in")] REFIID riid,
[out, iid_is(riid), annotation("deref_out_opt")] IUnknown **ppReferencedRowset);
[call_as(GetReferencedRowset)]
HRESULT RemoteGetReferencedRowset([in] DBORDINAL iOrdinal,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppReferencedRowset,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT GetSpecification([in, annotation("__in")] REFIID riid,
[out, iid_is(riid), annotation("__deref_out_opt")] IUnknown **ppSpecification);
[call_as(GetSpecification)]
HRESULT RemoteGetSpecification([in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppSpecification,
[out] IErrorInfo **ppErrorInfoRem);
}

View file

@ -1,67 +1,67 @@
/*
* 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
*/
[
local,
object,
uuid(0c733a7d-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IRowsetLocate : IRowset
{
typedef DWORD DBCOMPARE;
enum DBCOMPAREENUM
{
DBCOMPARE_LT,
DBCOMPARE_EQ,
DBCOMPARE_GT,
DBCOMPARE_NE,
DBCOMPARE_NOTCOMPARABLE
};
HRESULT Compare([in] HCHAPTER hReserved,
[in] DBBKMARK cbBookmark1,
[in, size_is(cbBookmark1)] const BYTE *pBookmark1,
[in] DBBKMARK cbBookmark2,
[in, size_is(cbBookmark2)] const BYTE *pBookmark2,
[out] DBCOMPARE *pComparison);
HRESULT GetRowsAt([in] HWATCHREGION hReserved1,
[in] HCHAPTER hReserved2,
[in] DBBKMARK cbBookmark,
[in, size_is(cbBookmark)] const BYTE *pBookmark,
[in] DBROWOFFSET lRowsOffset,
[in] DBROWCOUNT cRows,
[out] DBCOUNTITEM *pcRowsObtained,
[out, size_is(,cRows)] HROW **prghRows);
HRESULT GetRowsByBookmark([in] HCHAPTER hReserved,
[in] DBCOUNTITEM cRows,
[in, size_is(cRows)] const DBBKMARK rgcbBookmarks[],
[in, size_is(cRows)] const BYTE *rgpBookmarks[],
[out, size_is(cRows)] HROW rghRows[],
[out, size_is(cRows)] DBROWSTATUS rgRowStatus[]);
HRESULT Hash([in] HCHAPTER hReserved,
[in] DBBKMARK cBookmarks,
[in, size_is(cBookmarks)] const DBBKMARK rgcbBookmarks[],
[in, size_is(cBookmarks)] const BYTE *rgpBookmarks[],
[out, size_is(cBookmarks)] DBHASHVALUE rgHashedValues[],
[out, size_is(cBookmarks)] DBROWSTATUS rgBookmarkStatus[]);
}
/*
* 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
*/
[
local,
object,
uuid(0c733a7d-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IRowsetLocate : IRowset
{
typedef DWORD DBCOMPARE;
enum DBCOMPAREENUM
{
DBCOMPARE_LT,
DBCOMPARE_EQ,
DBCOMPARE_GT,
DBCOMPARE_NE,
DBCOMPARE_NOTCOMPARABLE
};
HRESULT Compare([in] HCHAPTER hReserved,
[in] DBBKMARK cbBookmark1,
[in, size_is(cbBookmark1)] const BYTE *pBookmark1,
[in] DBBKMARK cbBookmark2,
[in, size_is(cbBookmark2)] const BYTE *pBookmark2,
[out] DBCOMPARE *pComparison);
HRESULT GetRowsAt([in] HWATCHREGION hReserved1,
[in] HCHAPTER hReserved2,
[in] DBBKMARK cbBookmark,
[in, size_is(cbBookmark)] const BYTE *pBookmark,
[in] DBROWOFFSET lRowsOffset,
[in] DBROWCOUNT cRows,
[out] DBCOUNTITEM *pcRowsObtained,
[out, size_is(,cRows)] HROW **prghRows);
HRESULT GetRowsByBookmark([in] HCHAPTER hReserved,
[in] DBCOUNTITEM cRows,
[in, size_is(cRows)] const DBBKMARK rgcbBookmarks[],
[in, size_is(cRows)] const BYTE *rgpBookmarks[],
[out, size_is(cRows)] HROW rghRows[],
[out, size_is(cRows)] DBROWSTATUS rgRowStatus[]);
HRESULT Hash([in] HCHAPTER hReserved,
[in] DBBKMARK cBookmarks,
[in, size_is(cBookmarks)] const DBBKMARK rgcbBookmarks[],
[in, size_is(cBookmarks)] const BYTE *rgpBookmarks[],
[out, size_is(cBookmarks)] DBHASHVALUE rgHashedValues[],
[out, size_is(cBookmarks)] DBROWSTATUS rgBookmarkStatus[]);
}

View file

@ -1,51 +1,51 @@
/*
* 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(0c733a85-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface ISessionProperties : IUnknown
{
[local]
HRESULT GetProperties([in] ULONG cPropertyIDSets,
[in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[],
[in, out] ULONG *pcPropertySets,
[out, size_is(,*pcPropertySets)] DBPROPSET **prgPropertySets);
[call_as(GetProperties)]
HRESULT RemoteGetProperties([in] ULONG cPropertyIDSets,
[in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
[in, out] ULONG *pcPropertySets,
[out, size_is(,*pcPropertySets)] DBPROPSET **prgPropertySets,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT SetProperties([in] ULONG cPropertySets,
[in, out, unique, size_is(cPropertySets)] DBPROPSET rgPropertySets[]);
[call_as(SetProperties)]
HRESULT RemoteSetProperties([in] ULONG cPropertySets,
[in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
[in] ULONG cTotalProps,
[out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus,
[out] IErrorInfo **ppErrorInfoRem);
}
/*
* 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(0c733a85-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface ISessionProperties : IUnknown
{
[local]
HRESULT GetProperties([in] ULONG cPropertyIDSets,
[in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[],
[in, out] ULONG *pcPropertySets,
[out, size_is(,*pcPropertySets)] DBPROPSET **prgPropertySets);
[call_as(GetProperties)]
HRESULT RemoteGetProperties([in] ULONG cPropertyIDSets,
[in, unique, size_is(cPropertyIDSets)] const DBPROPIDSET *rgPropertyIDSets,
[in, out] ULONG *pcPropertySets,
[out, size_is(,*pcPropertySets)] DBPROPSET **prgPropertySets,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT SetProperties([in] ULONG cPropertySets,
[in, out, unique, size_is(cPropertySets)] DBPROPSET rgPropertySets[]);
[call_as(SetProperties)]
HRESULT RemoteSetProperties([in] ULONG cPropertySets,
[in, unique, size_is(cPropertySets)] DBPROPSET *rgPropertySets,
[in] ULONG cTotalProps,
[out, size_is(cTotalProps)] DBPROPSTATUS *rgPropStatus,
[out] IErrorInfo **ppErrorInfoRem);
}