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
a7001bda
Commit
a7001bda
authored
Feb 04, 2010
by
Huw Davies
Committed by
Alexandre Julliard
Feb 04, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msdaps: Add support for remoting IRowset_AddRefRows.
parent
b2769db6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
4 deletions
+26
-4
row_server.c
dlls/msdaps/row_server.c
+26
-4
No files found.
dlls/msdaps/row_server.c
View file @
a7001bda
...
...
@@ -238,8 +238,19 @@ static HRESULT WINAPI server_AddRefRows(IWineRowServer* iface, DBCOUNTITEM cRows
DBROWSTATUS
rgRowStatus
[])
{
server
*
This
=
impl_from_IWineRowServer
(
iface
);
FIXME
(
"(%p)->(%d, %p, %p, %p): stub
\n
"
,
This
,
cRows
,
rghRows
,
rgRefCounts
,
rgRowStatus
);
return
E_NOTIMPL
;
IRowset
*
rowset
;
HRESULT
hr
;
TRACE
(
"(%p)->(%d, %p, %p, %p)
\n
"
,
This
,
cRows
,
rghRows
,
rgRefCounts
,
rgRowStatus
);
hr
=
IUnknown_QueryInterface
(
This
->
inner_unk
,
&
IID_IRowset
,
(
void
**
)
&
rowset
);
if
(
FAILED
(
hr
))
return
hr
;
hr
=
IRowset_AddRefRows
(
rowset
,
cRows
,
rghRows
,
rgRefCounts
,
rgRowStatus
);
IRowset_Release
(
rowset
);
TRACE
(
"returning %08x
\n
"
,
hr
);
return
hr
;
}
static
HRESULT
WINAPI
server_GetData
(
IWineRowServer
*
iface
,
HROW
hRow
,
...
...
@@ -586,10 +597,21 @@ static HRESULT WINAPI rowset_AddRefRows(IRowset *iface, DBCOUNTITEM cRows, const
DBREFCOUNT
rgRefCounts
[],
DBROWSTATUS
rgRowStatus
[])
{
rowset_proxy
*
This
=
impl_from_IRowset
(
iface
);
HRESULT
hr
;
DBREFCOUNT
*
refs
=
rgRefCounts
;
DBSTATUS
*
stats
=
rgRowStatus
;
FIXME
(
"(%p)->(%d, %p, %p, %p): stub
\n
"
,
This
,
cRows
,
rghRows
,
rgRefCounts
,
rgRowStatus
);
TRACE
(
"(%p)->(%d, %p, %p, %p)
\n
"
,
This
,
cRows
,
rghRows
,
rgRefCounts
,
rgRowStatus
);
return
E_NOTIMPL
;
if
(
!
refs
)
refs
=
CoTaskMemAlloc
(
cRows
*
sizeof
(
refs
[
0
]));
if
(
!
stats
)
stats
=
CoTaskMemAlloc
(
cRows
*
sizeof
(
stats
[
0
]));
hr
=
IWineRowServer_AddRefRows
(
This
->
server
,
cRows
,
rghRows
,
refs
,
stats
);
if
(
refs
!=
rgRefCounts
)
CoTaskMemFree
(
refs
);
if
(
stats
!=
rgRowStatus
)
CoTaskMemFree
(
stats
);
return
hr
;
}
static
HRESULT
WINAPI
rowset_GetData
(
IRowset
*
iface
,
HROW
hRow
,
HACCESSOR
hAccessor
,
void
*
pData
)
...
...
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