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
6f1a4fa8
Commit
6f1a4fa8
authored
Dec 13, 2019
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msado15: Implement _Recordset_get_RecordCount.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
55020bf2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
recordset.c
dlls/msado15/recordset.c
+6
-2
msado15.c
dlls/msado15/tests/msado15.c
+10
-0
No files found.
dlls/msado15/recordset.c
View file @
6f1a4fa8
...
...
@@ -873,8 +873,12 @@ static HRESULT WINAPI recordset_put_MaxRecords( _Recordset *iface, LONG max_reco
static
HRESULT
WINAPI
recordset_get_RecordCount
(
_Recordset
*
iface
,
LONG
*
count
)
{
FIXME
(
"%p, %p
\n
"
,
iface
,
count
);
return
E_NOTIMPL
;
struct
recordset
*
recordset
=
impl_from_Recordset
(
iface
);
TRACE
(
"%p, %p
\n
"
,
recordset
,
count
);
*
count
=
recordset
->
count
;
return
S_OK
;
}
static
HRESULT
WINAPI
recordset_putref_Source
(
_Recordset
*
iface
,
IDispatch
*
source
)
...
...
dlls/msado15/tests/msado15.c
View file @
6f1a4fa8
...
...
@@ -144,11 +144,21 @@ static void test_Recordset(void)
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
state
==
adStateOpen
,
"got %d
\n
"
,
state
);
count
=
-
1
;
hr
=
_Recordset_get_RecordCount
(
recordset
,
&
count
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
!
count
,
"got %d
\n
"
,
count
);
hr
=
_Recordset_AddNew
(
recordset
,
missing
,
missing
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
!
is_eof
(
recordset
),
"eof
\n
"
);
ok
(
!
is_bof
(
recordset
),
"bof
\n
"
);
count
=
-
1
;
hr
=
_Recordset_get_RecordCount
(
recordset
,
&
count
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
count
==
1
,
"got %d
\n
"
,
count
);
hr
=
_Recordset_Close
(
recordset
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
...
...
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