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
93ea2e00
Commit
93ea2e00
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_GetNextRows.
parent
a7001bda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
4 deletions
+27
-4
row_server.c
dlls/msdaps/row_server.c
+27
-4
No files found.
dlls/msdaps/row_server.c
View file @
93ea2e00
...
...
@@ -265,8 +265,20 @@ static HRESULT WINAPI server_GetNextRows(IWineRowServer* iface, HCHAPTER hReserv
DBROWCOUNT
cRows
,
DBCOUNTITEM
*
pcRowObtained
,
HROW
**
prghRows
)
{
server
*
This
=
impl_from_IWineRowServer
(
iface
);
FIXME
(
"(%p)->(%08lx, %d, %d, %p, %p): stub
\n
"
,
This
,
hReserved
,
lRowsOffset
,
cRows
,
pcRowObtained
,
prghRows
);
return
E_NOTIMPL
;
IRowset
*
rowset
;
HRESULT
hr
;
TRACE
(
"(%p)->(%08lx, %d, %d, %p, %p)
\n
"
,
This
,
hReserved
,
lRowsOffset
,
cRows
,
pcRowObtained
,
prghRows
);
hr
=
IUnknown_QueryInterface
(
This
->
inner_unk
,
&
IID_IRowset
,
(
void
**
)
&
rowset
);
if
(
FAILED
(
hr
))
return
hr
;
*
prghRows
=
NULL
;
hr
=
IRowset_GetNextRows
(
rowset
,
hReserved
,
lRowsOffset
,
cRows
,
pcRowObtained
,
prghRows
);
IRowset_Release
(
rowset
);
TRACE
(
"returning %08x, got %d rows
\n
"
,
hr
,
*
pcRowObtained
);
return
hr
;
}
static
HRESULT
WINAPI
server_ReleaseRows
(
IWineRowServer
*
iface
,
DBCOUNTITEM
cRows
,
const
HROW
rghRows
[],
...
...
@@ -627,10 +639,21 @@ static HRESULT WINAPI rowset_GetNextRows(IRowset *iface, HCHAPTER hReserved, DBR
DBROWCOUNT
cRows
,
DBCOUNTITEM
*
pcRowObtained
,
HROW
**
prghRows
)
{
rowset_proxy
*
This
=
impl_from_IRowset
(
iface
);
HRESULT
hr
;
HROW
*
rows
=
NULL
;
FIXME
(
"(%p)->(%08lx, %d, %d, %p, %p): stub
\n
"
,
This
,
hReserved
,
lRowsOffset
,
cRows
,
pcRowObtained
,
prghRows
);
TRACE
(
"(%p)->(%08lx, %d, %d, %p, %p)
\n
"
,
This
,
hReserved
,
lRowsOffset
,
cRows
,
pcRowObtained
,
prghRows
);
return
E_NOTIMPL
;
hr
=
IWineRowServer_GetNextRows
(
This
->
server
,
hReserved
,
lRowsOffset
,
cRows
,
pcRowObtained
,
&
rows
);
if
(
*
prghRows
)
{
memcpy
(
*
prghRows
,
rows
,
*
pcRowObtained
*
sizeof
(
rows
[
0
]));
CoTaskMemFree
(
rows
);
}
else
*
prghRows
=
rows
;
return
hr
;
}
static
HRESULT
WINAPI
rowset_ReleaseRows
(
IRowset
*
iface
,
DBCOUNTITEM
cRows
,
const
HROW
rghRows
[],
...
...
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