ReactOS  0.4.15-dev-2703-g05fb0f1
access.idl
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2009 Huw Davies
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18 
19 [
20  object,
21  uuid(0c733a8c-2a1c-11ce-ade5-00aa0044773d),
23 ]
24 interface IAccessor : IUnknown
25 {
26 
28 
30 
31  [local]
32  HRESULT AddRefAccessor([in] HACCESSOR hAccessor,
33  [in, out, unique, annotation("__out_opt")] DBREFCOUNT *pcRefCount);
34 
35  [call_as(AddRefAccessor)]
37  [in, out, unique] DBREFCOUNT *pcRefCount,
38  [out] IErrorInfo **ppErrorInfoRem);
39 
40  [local]
41  HRESULT CreateAccessor([in] DBACCESSORFLAGS dwAccessorFlags,
42  [in] DBCOUNTITEM cBindings,
43  [in, size_is(cBindings), annotation("__in_ecount(cBindings)")] const DBBINDING rgBindings[],
44  [in] DBLENGTH cbRowSize,
45  [out, annotation("__out")] HACCESSOR *phAccessor,
46  [out, size_is(cBindings), annotation("__out_ecount_opt(cBindings)")] DBBINDSTATUS rgStatus[]);
47 
48  [call_as(CreateAccessor)]
50  [in] DBCOUNTITEM cBindings,
51  [in, unique, size_is((ULONG)cBindings)] DBBINDING *rgBindings,
52  [in] DBLENGTH cbRowSize,
53  [out] HACCESSOR *phAccessor,
54  [in, out, unique, size_is((ULONG)cBindings)] DBBINDSTATUS *rgStatus,
55  [out] IErrorInfo **ppErrorInfoRem);
56 
57  [local]
58  HRESULT GetBindings([in] HACCESSOR hAccessor,
59  [out, annotation("__out")] DBACCESSORFLAGS *pdwAccessorFlags,
60  [in, out, annotation("__out_opt")] DBCOUNTITEM *pcBindings,
61  [out, size_is(,*pcBindings), annotation("__deref_out_ecount_opt(*pcBindings)")] DBBINDING **prgBindings);
62 
63  [call_as(GetBindings)]
65  [out] DBACCESSORFLAGS *pdwAccessorFlags,
66  [in, out] DBCOUNTITEM *pcBindings,
67  [out, size_is(,(ULONG)*pcBindings)] DBBINDING **prgBindings,
68  [out] IErrorInfo **ppErrorInfoRem);
69 
70  [local]
71  HRESULT ReleaseAccessor([in] HACCESSOR hAccessor,
72  [in, out, unique, annotation("__out_opt")] DBREFCOUNT *pcRefCount);
73 
74  [call_as(ReleaseAccessor)]
76  [in, out, unique] DBREFCOUNT *pcRefCount,
77  [out] IErrorInfo **ppErrorInfoRem);
78 
79 };
ULONG DBLENGTH
Definition: oledb.idl:35
HRESULT ReleaseAccessor([in] HACCESSOR hAccessor, [in, out, unique, annotation("__out_opt")] DBREFCOUNT *pcRefCount)
coclass MSXML2::XSLTemplate40 object
ULONG_PTR HACCESSOR
Definition: dbs.idl:289
ULONG DBREFCOUNT
Definition: oledb.idl:39
HRESULT AddRefAccessor([in] HACCESSOR hAccessor, [in, out, unique, annotation("__out_opt")] DBREFCOUNT *pcRefCount)
coclass PSFactoryBuffer pointer_default(unique)] interface ObjectRpcBaseTypes
Definition: dcom.idl:35
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)
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)
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[])
LONG HRESULT
Definition: typedefs.h:79
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD DBACCESSORFLAGS
Definition: access.idl:27
#define local
Definition: zutil.h:30
GLuint in
Definition: glext.h:9616
unsigned int ULONG
Definition: retypes.h:1
ULONG DBCOUNTITEM
Definition: oledb.idl:34
#define annotation(x)
Definition: dispex.idl:19
DWORD DBBINDSTATUS
Definition: access.idl:29
HRESULT RemoteAddRefAccessor([in] HACCESSOR hAccessor, [in, out, unique] DBREFCOUNT *pcRefCount, [out] IErrorInfo **ppErrorInfoRem)
HRESULT RemoteReleaseAccessor([in] HACCESSOR hAccessor, [in, out, unique] DBREFCOUNT *pcRefCount, [out] IErrorInfo **ppErrorInfoRem)
HRESULT RemoteGetBindings([in] HACCESSOR hAccessor, [out] DBACCESSORFLAGS *pdwAccessorFlags, [in, out] DBCOUNTITEM *pcBindings, [out, size_is(,(ULONG) *pcBindings)] DBBINDING **prgBindings, [out] IErrorInfo **ppErrorInfoRem)