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
a5549305
Commit
a5549305
authored
Mar 05, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Update the UI in the RemoveODBC action.
parent
eff0503f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
action.c
dlls/msi/action.c
+25
-0
No files found.
dlls/msi/action.c
View file @
a5549305
...
...
@@ -5723,6 +5723,8 @@ static UINT ACTION_InstallODBC( MSIPACKAGE *package )
static
UINT
ITERATE_RemoveODBCDriver
(
MSIRECORD
*
rec
,
LPVOID
param
)
{
MSIPACKAGE
*
package
=
param
;
MSIRECORD
*
uirow
;
DWORD
usage
;
LPCWSTR
desc
;
...
...
@@ -5736,11 +5738,19 @@ static UINT ITERATE_RemoveODBCDriver( MSIRECORD *rec, LPVOID param )
FIXME
(
"Usage count reached 0
\n
"
);
}
uirow
=
MSI_CreateRecord
(
2
);
MSI_RecordSetStringW
(
uirow
,
1
,
desc
);
MSI_RecordSetStringW
(
uirow
,
2
,
MSI_RecordGetString
(
rec
,
2
)
);
ui_actiondata
(
package
,
szRemoveODBC
,
uirow
);
msiobj_release
(
&
uirow
->
hdr
);
return
ERROR_SUCCESS
;
}
static
UINT
ITERATE_RemoveODBCTranslator
(
MSIRECORD
*
rec
,
LPVOID
param
)
{
MSIPACKAGE
*
package
=
param
;
MSIRECORD
*
uirow
;
DWORD
usage
;
LPCWSTR
desc
;
...
...
@@ -5754,11 +5764,19 @@ static UINT ITERATE_RemoveODBCTranslator( MSIRECORD *rec, LPVOID param )
FIXME
(
"Usage count reached 0
\n
"
);
}
uirow
=
MSI_CreateRecord
(
2
);
MSI_RecordSetStringW
(
uirow
,
1
,
desc
);
MSI_RecordSetStringW
(
uirow
,
2
,
MSI_RecordGetString
(
rec
,
2
)
);
ui_actiondata
(
package
,
szRemoveODBC
,
uirow
);
msiobj_release
(
&
uirow
->
hdr
);
return
ERROR_SUCCESS
;
}
static
UINT
ITERATE_RemoveODBCDataSource
(
MSIRECORD
*
rec
,
LPVOID
param
)
{
MSIPACKAGE
*
package
=
param
;
MSIRECORD
*
uirow
;
LPWSTR
attrs
;
LPCWSTR
desc
,
driver
;
WORD
request
=
ODBC_REMOVE_SYS_DSN
;
...
...
@@ -5791,6 +5809,13 @@ static UINT ITERATE_RemoveODBCDataSource( MSIRECORD *rec, LPVOID param )
}
msi_free
(
attrs
);
uirow
=
MSI_CreateRecord
(
3
);
MSI_RecordSetStringW
(
uirow
,
1
,
desc
);
MSI_RecordSetStringW
(
uirow
,
2
,
MSI_RecordGetString
(
rec
,
2
)
);
MSI_RecordSetInteger
(
uirow
,
3
,
request
);
ui_actiondata
(
package
,
szRemoveODBC
,
uirow
);
msiobj_release
(
&
uirow
->
hdr
);
return
ERROR_SUCCESS
;
}
...
...
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