Commit 2fe34bfb authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

include: Added IRowPosition interface definition.

parent bd049b28
......@@ -1279,3 +1279,63 @@ HRESULT __RPC_STUB IErrorRecords_AddErrorRecord_Stub(IErrorRecords* This, ERRORI
return hr;
}
HRESULT __RPC_STUB IRowPosition_Initialize_Stub(IRowPosition* This, IUnknown *rowset, IErrorInfo **errorinfo)
{
FIXME("(%p)->(%p %p): stub\n", This, rowset, errorinfo);
return E_NOTIMPL;
}
HRESULT __RPC_STUB IRowPosition_SetRowPosition_Stub(IRowPosition* This, HCHAPTER chapter, HROW row, DBPOSITIONFLAGS flags, IErrorInfo **errorinfo)
{
FIXME("(%p)->(%lx %lx %d %p): stub\n", This, chapter, row, flags, errorinfo);
return E_NOTIMPL;
}
HRESULT __RPC_STUB IRowPosition_GetRowset_Stub(IRowPosition* This, REFIID riid, IUnknown **rowset, IErrorInfo **errorinfo)
{
FIXME("(%p)->(%s %p %p): stub\n", This, debugstr_guid(riid), rowset, errorinfo);
return E_NOTIMPL;
}
HRESULT __RPC_STUB IRowPosition_GetRowPosition_Stub(IRowPosition* This, HCHAPTER *chapter, HROW *row, DBPOSITIONFLAGS *flags, IErrorInfo **errorinfo)
{
FIXME("(%p)->(%p %p %p %p): stub\n", This, chapter, row, flags, errorinfo);
return E_NOTIMPL;
}
HRESULT __RPC_STUB IRowPosition_ClearRowPosition_Stub(IRowPosition* This, IErrorInfo **errorinfo)
{
FIXME("(%p)->(%p): stub\n", This, errorinfo);
return E_NOTIMPL;
}
HRESULT CALLBACK IRowPosition_ClearRowPosition_Proxy(IRowPosition* This)
{
FIXME("(%p): stub\n", This);
return E_NOTIMPL;
}
HRESULT CALLBACK IRowPosition_GetRowPosition_Proxy(IRowPosition* This, HCHAPTER *chapter, HROW *row, DBPOSITIONFLAGS *flags)
{
FIXME("(%p)->(%p %p %p): stub\n", This, chapter, row, flags);
return E_NOTIMPL;
}
HRESULT CALLBACK IRowPosition_GetRowset_Proxy(IRowPosition* This, REFIID riid, IUnknown **rowset)
{
FIXME("(%p)->(%s %p): stub\n", This, debugstr_guid(riid), rowset);
return E_NOTIMPL;
}
HRESULT CALLBACK IRowPosition_Initialize_Proxy(IRowPosition* This, IUnknown *rowset)
{
FIXME("(%p)->(%p): stub\n", This, rowset);
return E_NOTIMPL;
}
HRESULT CALLBACK IRowPosition_SetRowPosition_Proxy(IRowPosition* This, HCHAPTER chapter, HROW row, DBPOSITIONFLAGS flags)
{
FIXME("(%p)->(%lx %lx %d): stub\n", This, chapter, row, flags);
return E_NOTIMPL;
}
......@@ -480,6 +480,7 @@ SRCDIR_INCLUDES = \
rmxfguid.h \
row.idl \
rowchg.idl \
rowpos.idl \
rpc.h \
rpcasync.h \
rpcdce.h \
......
......@@ -64,6 +64,7 @@ typedef DWORD_PTR DBHASHVALUE;
#include "opnrst.idl"
#include "row.idl"
#include "rowchg.idl"
#include "rowpos.idl"
#include "binres.idl"
#include "crtrow.idl"
#include "errrec.idl"
......
/*
* Copyright (C) 2013 Nikolay Sivov
*
* 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(0c733a94-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IRowPosition : IUnknown
{
typedef DWORD DBPOSITIONFLAGS;
enum DBPOSITIONFLAGSENUM {
DBPOSITION_OK,
DBPOSITION_NOROW,
DBPOSITION_BOF,
DBPOSITION_EOF
};
[local]
HRESULT ClearRowPosition();
[call_as(ClearRowPosition)]
HRESULT RemoteClearRowPosition([out] IErrorInfo **errorinfo);
[local]
HRESULT GetRowPosition([out] HCHAPTER *chapter,
[out] HROW *row,
[out] DBPOSITIONFLAGS *position_flags);
[call_as(GetRowPosition)]
HRESULT RemoteGetRowPosition([out] HCHAPTER *chapter,
[out] HROW *row,
[out] DBPOSITIONFLAGS *position_flags,
[out] IErrorInfo **errorinfo);
[local]
HRESULT GetRowset([in] REFIID riid,
[out, iid_is(riid)] IUnknown **rowset);
[call_as(GetRowset)]
HRESULT RemoteGetRowset([in] REFIID riid,
[out, iid_is(riid)] IUnknown **rowset,
[out] IErrorInfo **errorinfo);
[local]
HRESULT Initialize([in] IUnknown *rowset);
[call_as(Initialize)]
HRESULT RemoteInitialize([in] IUnknown *rowset,
[out] IErrorInfo **errorinfo);
[local]
HRESULT SetRowPosition([in] HCHAPTER chapter,
[in] HROW row,
[in] DBPOSITIONFLAGS flags);
[call_as(SetRowPosition)]
HRESULT RemoteSetRowPosition([in] HCHAPTER chapter,
[in] HROW row,
[in] DBPOSITIONFLAGS flags,
[out] IErrorInfo **errorinfo);
}
......@@ -155,6 +155,7 @@ my %private_idl_headers = (
"opnrst.idl" => 1,
"row.idl" => 1,
"rowchg.idl" => 1,
"rowpos.idl" => 1,
"rstbas.idl" => 1,
"rstinf.idl" => 1,
"rstloc.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