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
e44206d1
Commit
e44206d1
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_ReleaseRows.
parent
93ea2e00
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
4 deletions
+33
-4
row_server.c
dlls/msdaps/row_server.c
+33
-4
No files found.
dlls/msdaps/row_server.c
View file @
e44206d1
...
...
@@ -285,8 +285,19 @@ static HRESULT WINAPI server_ReleaseRows(IWineRowServer* iface, DBCOUNTITEM cRow
DBROWOPTIONS
rgRowOptions
[],
DBREFCOUNT
rgRefCounts
[],
DBROWSTATUS
rgRowStatus
[])
{
server
*
This
=
impl_from_IWineRowServer
(
iface
);
FIXME
(
"(%p)->(%d, %p, %p, %p, %p): stub
\n
"
,
This
,
cRows
,
rghRows
,
rgRowOptions
,
rgRefCounts
,
rgRowStatus
);
return
E_NOTIMPL
;
IRowset
*
rowset
;
HRESULT
hr
;
TRACE
(
"(%p)->(%d, %p, %p, %p, %p)
\n
"
,
This
,
cRows
,
rghRows
,
rgRowOptions
,
rgRefCounts
,
rgRowStatus
);
hr
=
IUnknown_QueryInterface
(
This
->
inner_unk
,
&
IID_IRowset
,
(
void
**
)
&
rowset
);
if
(
FAILED
(
hr
))
return
hr
;
hr
=
IRowset_ReleaseRows
(
rowset
,
cRows
,
rghRows
,
rgRowOptions
,
rgRefCounts
,
rgRowStatus
);
IRowset_Release
(
rowset
);
TRACE
(
"returning %08x
\n
"
,
hr
);
return
hr
;
}
static
HRESULT
WINAPI
server_RestartPosition
(
IWineRowServer
*
iface
,
HCHAPTER
hReserved
)
...
...
@@ -660,10 +671,28 @@ static HRESULT WINAPI rowset_ReleaseRows(IRowset *iface, DBCOUNTITEM cRows, cons
DBROWOPTIONS
rgRowOptions
[],
DBREFCOUNT
rgRefCounts
[],
DBROWSTATUS
rgRowStatus
[])
{
rowset_proxy
*
This
=
impl_from_IRowset
(
iface
);
HRESULT
hr
;
DBROWOPTIONS
*
options
=
rgRowOptions
;
DBREFCOUNT
*
refs
=
rgRefCounts
;
DBROWSTATUS
*
status
=
rgRowStatus
;
FIXME
(
"(%p)->(%d, %p, %p, %p, %p): stub
\n
"
,
This
,
cRows
,
rghRows
,
rgRowOptions
,
rgRefCounts
,
rgRowStatus
);
TRACE
(
"(%p)->(%d, %p, %p, %p, %p)
\n
"
,
This
,
cRows
,
rghRows
,
rgRowOptions
,
rgRefCounts
,
rgRowStatus
);
return
E_NOTIMPL
;
if
(
!
options
)
{
options
=
CoTaskMemAlloc
(
cRows
*
sizeof
(
options
[
0
]));
memset
(
options
,
0
,
cRows
*
sizeof
(
options
[
0
]));
}
if
(
!
refs
)
refs
=
CoTaskMemAlloc
(
cRows
*
sizeof
(
refs
[
0
]));
if
(
!
status
)
status
=
CoTaskMemAlloc
(
cRows
*
sizeof
(
status
[
0
]));
hr
=
IWineRowServer_ReleaseRows
(
This
->
server
,
cRows
,
rghRows
,
options
,
refs
,
status
);
if
(
status
!=
rgRowStatus
)
CoTaskMemFree
(
status
);
if
(
refs
!=
rgRefCounts
)
CoTaskMemFree
(
refs
);
if
(
options
!=
rgRowOptions
)
CoTaskMemFree
(
options
);
return
hr
;
}
static
HRESULT
WINAPI
rowset_RestartPosition
(
IRowset
*
iface
,
HCHAPTER
hReserved
)
...
...
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