Sweden-Number/dlls/msdaps/row_server.idl

107 lines
2.5 KiB
Plaintext

/*
* Wine row server interface.
*
* Copyright (C) 2010 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
*/
import "oledb.idl";
[
object,
uuid(38248178-cf6d-11de-abe5-000c2916d865),
pointer_default(unique)
]
interface IWineRowServer : IUnknown
{
[local] HRESULT SetInnerUnk([in] IUnknown *unknown);
[local] HRESULT GetMarshal([out] IMarshal **marshal);
/* IRow */
typedef struct
{
DBID columnid;
DBLENGTH max_len;
DBTYPE type;
BYTE precision;
BYTE scale;
} wine_getcolumns_in;
typedef struct
{
VARIANT v;
DBLENGTH data_len;
DBSTATUS status;
} wine_getcolumns_out;
HRESULT GetColumns([in] DBORDINAL num_cols,
[in, size_is(num_cols)] wine_getcolumns_in *in_data,
[out, size_is(num_cols)] wine_getcolumns_out *out_cols);
HRESULT GetSourceRowset([in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppRowset,
[out] HROW *phRow);
HRESULT Open([in, unique] IUnknown *pUnkOuter,
[in] DBID *pColumnID,
[in] REFGUID rguidColumnType,
[in] DWORD dwBindFlags,
[in] REFIID riid,
[out, iid_is(riid)] IUnknown **ppUnk);
}
[
uuid(38248178-cf6d-11de-abe5-000c2916d865)
]
coclass wine_row_server
{
}
[
uuid(38248179-cf6d-11de-abe5-000c2916d865)
]
coclass wine_row_proxy
{
}
[
uuid(3824817a-cf6d-11de-abe5-000c2916d865)
]
coclass wine_rowset_server
{
}
[
uuid(3824817b-cf6d-11de-abe5-000c2916d865)
]
coclass wine_rowset_proxy
{
}
cpp_quote("extern HRESULT create_row_server( IUnknown*, LPVOID* );")
cpp_quote("extern HRESULT create_row_marshal( IUnknown*, LPVOID* );")
cpp_quote("extern HRESULT create_rowset_server( IUnknown*, LPVOID* );")
cpp_quote("extern HRESULT create_rowset_marshal( IUnknown*, LPVOID* );")