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
0f0d3c48
Commit
0f0d3c48
authored
Nov 08, 2021
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Nov 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msdasql: Implement IDBProperties SetProperties.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0c6bab93
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
msdasql_main.c
dlls/msdasql/msdasql_main.c
+19
-2
No files found.
dlls/msdasql/msdasql_main.c
View file @
0f0d3c48
...
...
@@ -424,10 +424,27 @@ static HRESULT WINAPI dbprops_SetProperties(IDBProperties *iface, ULONG cPropert
DBPROPSET
rgPropertySets
[])
{
struct
msdasql
*
provider
=
impl_from_IDBProperties
(
iface
);
int
i
,
j
,
k
;
FIXM
E
(
"(%p)->(%d %p)
\n
"
,
provider
,
cPropertySets
,
rgPropertySets
);
TRAC
E
(
"(%p)->(%d %p)
\n
"
,
provider
,
cPropertySets
,
rgPropertySets
);
return
E_NOTIMPL
;
for
(
i
=
0
;
i
<
cPropertySets
;
i
++
)
{
for
(
j
=
0
;
j
<
rgPropertySets
[
i
].
cProperties
;
j
++
)
{
for
(
k
=
0
;
k
<
ARRAY_SIZE
(
provider
->
properties
);
k
++
)
{
if
(
provider
->
properties
[
k
].
id
==
rgPropertySets
[
i
].
rgProperties
[
j
].
dwPropertyID
)
{
TRACE
(
"Found property %d
\n
"
,
provider
->
properties
[
k
].
id
);
VariantCopy
(
&
provider
->
properties
[
k
].
value
,
&
rgPropertySets
[
i
].
rgProperties
[
j
].
vValue
);
break
;
}
}
}
}
return
S_OK
;
}
static
const
struct
IDBPropertiesVtbl
dbprops_vtbl
=
...
...
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