Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
83c14c72
Commit
83c14c72
authored
Jun 03, 2013
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jul 29, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oledb32: Add interface ISourcesRowset.
parent
a8728893
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
92 additions
and
0 deletions
+92
-0
usrmarshal.c
dlls/msdaps/usrmarshal.c
+36
-0
Makefile.in
include/Makefile.in
+1
-0
oledb.idl
include/oledb.idl
+1
-0
srcrst.idl
include/srcrst.idl
+53
-0
make_makefiles
tools/make_makefiles
+1
-0
No files found.
dlls/msdaps/usrmarshal.c
View file @
83c14c72
...
...
@@ -1060,3 +1060,39 @@ HRESULT __RPC_STUB IRowsetNotify_OnRowsetChange_Stub(IRowsetNotify* This, IRowse
TRACE
(
"(%p)->(%p %d %d %d)
\n
"
,
This
,
rowset
,
reason
,
phase
,
cantdeny
);
return
IRowsetNotify_OnRowsetChange
(
This
,
rowset
,
reason
,
phase
,
cantdeny
);
}
HRESULT
CALLBACK
ISourcesRowset_GetSourcesRowset_Proxy
(
ISourcesRowset
*
This
,
IUnknown
*
pUnkOuter
,
REFIID
riid
,
ULONG
cPropertySets
,
DBPROPSET
rgProperties
[],
IUnknown
**
ppSourcesRowset
)
{
HRESULT
hr
;
IErrorInfo
*
error
;
TRACE
(
"(%p)->(%p %s %d %p %p)
\n
"
,
This
,
pUnkOuter
,
debugstr_guid
(
riid
),
cPropertySets
,
rgProperties
,
ppSourcesRowset
);
hr
=
ISourcesRowset_RemoteGetSourcesRowset_Proxy
(
This
,
pUnkOuter
,
riid
,
cPropertySets
,
rgProperties
,
ppSourcesRowset
,
0
,
NULL
,
&
error
);
if
(
error
)
{
SetErrorInfo
(
0
,
error
);
IErrorInfo_Release
(
error
);
}
return
hr
;
}
HRESULT
__RPC_STUB
ISourcesRowset_GetSourcesRowset_Stub
(
ISourcesRowset
*
This
,
IUnknown
*
pUnkOuter
,
REFIID
riid
,
ULONG
cPropertySets
,
DBPROPSET
*
rgProperties
,
IUnknown
**
ppSourcesRowset
,
ULONG
cTotalProps
,
DBPROPSTATUS
*
rgPropStatus
,
IErrorInfo
**
ppErrorInfoRem
)
{
HRESULT
hr
;
TRACE
(
"(%p)->(%p %s %d %p %p %d %p %p)
\n
"
,
This
,
pUnkOuter
,
debugstr_guid
(
riid
),
cPropertySets
,
rgProperties
,
ppSourcesRowset
,
cTotalProps
,
rgPropStatus
,
ppErrorInfoRem
);
*
ppErrorInfoRem
=
NULL
;
hr
=
ISourcesRowset_GetSourcesRowset
(
This
,
pUnkOuter
,
riid
,
cPropertySets
,
rgProperties
,
ppSourcesRowset
);
if
(
FAILED
(
hr
))
GetErrorInfo
(
0
,
ppErrorInfoRem
);
return
hr
;
}
include/Makefile.in
View file @
83c14c72
...
...
@@ -514,6 +514,7 @@ SRCDIR_INCLUDES = \
sql.h
\
sqlext.h
\
sqltypes.h
\
srcrst.idl
\
srrestoreptapi.h
\
sspi.h
\
sti.h
\
...
...
include/oledb.idl
View file @
83c14c72
...
...
@@ -53,6 +53,7 @@ typedef DWORD_PTR DBHASHVALUE;
#
include
"cmdtxt.idl"
#
include
"dbccmd.idl"
#
include
"dbcses.idl"
#
include
"srcrst.idl"
#
include
"dbprop.idl"
#
include
"dbinit.idl"
#
include
"dbdsad.idl"
...
...
include/srcrst.idl
0 → 100644
View file @
83c14c72
/*
*
Copyright
(
C
)
2013
Alistair
Leslie
-
Hughes
*
*
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
(
0
c733a1e
-
2
a1c
-
11
ce
-
ade5
-
00
aa0044773d
),
pointer_default
(
unique
)
]
interface
ISourcesRowset
:
IUnknown
{
typedef
DWORD
DBSOURCETYPE
;
enum
DBSOURCETYPEENUM
{
DBSOURCETYPE_DATASOURCE
=
1
,
DBSOURCETYPE_ENUMERATOR
=
2
,
}
;
enum
DBSOURCETYPEENUM20
{
DBSOURCETYPE_DATASOURCE_TDP
=
1
,
DBSOURCETYPE_DATASOURCE_MDP
=
3
,
}
;
enum
DBSOURCETYPEENUM25
{
DBSOURCETYPE_BINDER
=
4
,
}
;
[
local
]
HRESULT
GetSourcesRowset
(
[
in
]
IUnknown
*
pUnkOuter
,
[
in
]
REFIID
riid
,
[
in
]
ULONG
cPropertySets
,
[
in
,
out
]
DBPROPSET
rgProperties
[]
,
[
out
]
IUnknown
**
ppSourcesRowset
)
;
[
call_as
(
GetSourcesRowset
)
]
HRESULT
RemoteGetSourcesRowset
(
[
in
]
IUnknown
*
pUnkOuter
,
[
in
]
REFIID
riid
,
[
in
]
ULONG
cPropertySets
,
[
in
]
DBPROPSET
*
rgProperties
,
[
out
]
IUnknown
**
ppSourcesRowset
,
[
in
]
ULONG
cTotalProps
,
[
out
]
DBPROPSTATUS
*
rgPropStatus
,
[
out
]
IErrorInfo
**
ppErrorInfoRem
)
;
}
tools/make_makefiles
View file @
83c14c72
...
...
@@ -158,6 +158,7 @@ my %private_idl_headers = (
"rstinf.idl"
=>
1
,
"rstloc.idl"
=>
1
,
"rstnot.idl"
=>
1
,
"srcrst.idl"
=>
1
,
"sesprp.idl"
=>
1
,
"vmrender.idl"
=>
1
,
"xmldom.idl"
=>
1
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment