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
5a08c9ed
Commit
5a08c9ed
authored
Mar 26, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Improve the SetODBCFolders action stub.
parent
2c5e1f68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
6 deletions
+34
-6
action.c
dlls/msi/action.c
+34
-6
No files found.
dlls/msi/action.c
View file @
5a08c9ed
...
...
@@ -6837,6 +6837,40 @@ static UINT ACTION_InstallAdminPackage( MSIPACKAGE *package )
return
ERROR_SUCCESS
;
}
static
UINT
ACTION_SetODBCFolders
(
MSIPACKAGE
*
package
)
{
UINT
r
,
count
;
MSIQUERY
*
view
;
static
const
WCHAR
driver_query
[]
=
{
'S'
,
'E'
,
'L'
,
'E'
,
'C'
,
'T'
,
' '
,
'*'
,
' '
,
'F'
,
'R'
,
'O'
,
'M'
,
' '
,
'O'
,
'D'
,
'B'
,
'C'
,
'D'
,
'r'
,
'i'
,
'v'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
translator_query
[]
=
{
'S'
,
'E'
,
'L'
,
'E'
,
'C'
,
'T'
,
' '
,
'*'
,
' '
,
'F'
,
'R'
,
'O'
,
'M'
,
' '
,
'O'
,
'D'
,
'B'
,
'C'
,
'T'
,
'r'
,
'a'
,
'n'
,
's'
,
'l'
,
'a'
,
't'
,
'o'
,
'r'
,
0
};
r
=
MSI_DatabaseOpenViewW
(
package
->
db
,
driver_query
,
&
view
);
if
(
r
==
ERROR_SUCCESS
)
{
count
=
0
;
r
=
MSI_IterateRecords
(
view
,
&
count
,
NULL
,
package
);
msiobj_release
(
&
view
->
hdr
);
if
(
count
)
FIXME
(
"ignored %u rows in ODBCDriver table
\n
"
,
count
);
}
r
=
MSI_DatabaseOpenViewW
(
package
->
db
,
translator_query
,
&
view
);
if
(
r
==
ERROR_SUCCESS
)
{
count
=
0
;
r
=
MSI_IterateRecords
(
view
,
&
count
,
NULL
,
package
);
msiobj_release
(
&
view
->
hdr
);
if
(
count
)
FIXME
(
"ignored %u rows in ODBCTranslator table
\n
"
,
count
);
}
return
ERROR_SUCCESS
;
}
static
UINT
msi_unimplemented_action_stub
(
MSIPACKAGE
*
package
,
LPCSTR
action
,
LPCWSTR
table
)
{
...
...
@@ -6923,12 +6957,6 @@ static UINT ACTION_RemoveExistingProducts( MSIPACKAGE *package )
return
msi_unimplemented_action_stub
(
package
,
"RemoveExistingProducts"
,
table
);
}
static
UINT
ACTION_SetODBCFolders
(
MSIPACKAGE
*
package
)
{
static
const
WCHAR
table
[]
=
{
'D'
,
'i'
,
'r'
,
'e'
,
'c'
,
't'
,
'o'
,
'r'
,
'y'
,
0
};
return
msi_unimplemented_action_stub
(
package
,
"SetODBCFolders"
,
table
);
}
static
UINT
ACTION_UnregisterClassInfo
(
MSIPACKAGE
*
package
)
{
static
const
WCHAR
table
[]
=
{
'A'
,
'p'
,
'p'
,
'I'
,
'd'
,
0
};
...
...
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