Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0ea0079a
Commit
0ea0079a
authored
Feb 04, 2010
by
Huw Davies
Committed by
Alexandre Julliard
Feb 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msdaps: Add support for remoting IRowsetLocate_GetRowsAt.
parent
8c5f4f08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
5 deletions
+32
-5
row_server.c
dlls/msdaps/row_server.c
+32
-5
No files found.
dlls/msdaps/row_server.c
View file @
0ea0079a
...
...
@@ -332,11 +332,23 @@ static HRESULT WINAPI server_GetRowsAt(IWineRowServer *iface, HWATCHREGION hRese
DBROWCOUNT
cRows
,
DBCOUNTITEM
*
pcRowsObtained
,
HROW
**
prghRows
)
{
server
*
This
=
impl_from_IWineRowServer
(
iface
);
IRowsetLocate
*
rowsetlocate
;
HRESULT
hr
;
FIXME
(
"(%p)->(%08lx, %08lx, %d, %p, %d, %d, %p, %p): stub
\n
"
,
This
,
hReserved1
,
hReserved2
,
cbBookmark
,
pBookmark
,
lRowsOffset
,
cRows
,
pcRowsObtained
,
prghRows
);
TRACE
(
"(%p)->(%08lx, %08lx, %d, %p, %d, %d, %p, %p
\n
"
,
This
,
hReserved1
,
hReserved2
,
cbBookmark
,
pBookmark
,
lRowsOffset
,
cRows
,
pcRowsObtained
,
prghRows
);
return
E_NOTIMPL
;
*
prghRows
=
NULL
;
hr
=
IUnknown_QueryInterface
(
This
->
inner_unk
,
&
IID_IRowsetLocate
,
(
void
**
)
&
rowsetlocate
);
if
(
FAILED
(
hr
))
return
hr
;
hr
=
IRowsetLocate_GetRowsAt
(
rowsetlocate
,
hReserved1
,
hReserved2
,
cbBookmark
,
pBookmark
,
lRowsOffset
,
cRows
,
pcRowsObtained
,
prghRows
);
IRowsetLocate_Release
(
rowsetlocate
);
TRACE
(
"returning %08x
\n
"
,
hr
);
return
hr
;
}
static
HRESULT
WINAPI
server_GetRowsByBookmark
(
IWineRowServer
*
iface
,
HCHAPTER
hReserved
,
DBCOUNTITEM
cRows
,
...
...
@@ -1006,8 +1018,23 @@ static HRESULT WINAPI rowsetlocate_GetRowsAt(IRowsetLocate *iface, HWATCHREGION
HROW
**
prghRows
)
{
rowset_proxy
*
This
=
impl_from_IRowsetLocate
(
iface
);
FIXME
(
"(%p)
\n
"
,
This
);
return
E_NOTIMPL
;
HRESULT
hr
;
HROW
*
rows
=
NULL
;
TRACE
(
"(%p)->(%08lx, %08lx, %d, %p, %d, %d, %p, %p
\n
"
,
This
,
hReserved1
,
hReserved2
,
cbBookmark
,
pBookmark
,
lRowsOffset
,
cRows
,
pcRowsObtained
,
prghRows
);
hr
=
IWineRowServer_GetRowsAt
(
This
->
server
,
hReserved1
,
hReserved2
,
cbBookmark
,
pBookmark
,
lRowsOffset
,
cRows
,
pcRowsObtained
,
&
rows
);
if
(
*
prghRows
)
{
memcpy
(
*
prghRows
,
rows
,
*
pcRowsObtained
*
sizeof
(
rows
[
0
]));
CoTaskMemFree
(
rows
);
}
else
*
prghRows
=
rows
;
return
hr
;
}
static
HRESULT
WINAPI
rowsetlocate_GetRowsByBookmark
(
IRowsetLocate
*
iface
,
HCHAPTER
hReserved
,
DBCOUNTITEM
cRows
,
const
DBBKMARK
rgcbBookmarks
[],
...
...
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