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
59270157
Commit
59270157
authored
Feb 12, 2007
by
Mike McCormack
Committed by
Alexandre Julliard
Feb 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Simplify ACTION_FinishCustomActions.
parent
5f1a1bbc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
16 deletions
+4
-16
custom.c
dlls/msi/custom.c
+4
-16
No files found.
dlls/msi/custom.c
View file @
59270157
...
@@ -789,30 +789,18 @@ static UINT HANDLE_CustomType34(MSIPACKAGE *package, LPCWSTR source,
...
@@ -789,30 +789,18 @@ static UINT HANDLE_CustomType34(MSIPACKAGE *package, LPCWSTR source,
return
wait_process_handle
(
package
,
type
,
info
.
hProcess
,
action
);
return
wait_process_handle
(
package
,
type
,
info
.
hProcess
,
action
);
}
}
void
ACTION_FinishCustomActions
(
MSIPACKAGE
*
package
)
void
ACTION_FinishCustomActions
(
MSIPACKAGE
*
package
)
{
{
struct
list
*
item
,
*
cursor
;
struct
list
*
item
;
DWORD
rc
;
LIST_FOR_EACH_SAFE
(
item
,
cursor
,
&
package
->
RunningActions
)
while
((
item
=
list_head
(
&
package
->
RunningActions
))
)
{
{
MSIRUNNINGACTION
*
action
=
LIST_ENTRY
(
item
,
MSIRUNNINGACTION
,
entry
);
MSIRUNNINGACTION
*
action
=
LIST_ENTRY
(
item
,
MSIRUNNINGACTION
,
entry
);
TRACE
(
"Checking on action %s
\n
"
,
debugstr_w
(
action
->
name
));
list_remove
(
&
action
->
entry
);
list_remove
(
&
action
->
entry
);
if
(
action
->
process
)
TRACE
(
"waiting for %s
\n
"
,
debugstr_w
(
action
->
name
)
);
GetExitCodeProcess
(
action
->
handle
,
&
rc
);
msi_dialog_check_messages
(
action
->
handle
);
else
GetExitCodeThread
(
action
->
handle
,
&
rc
);
if
(
rc
==
STILL_ACTIVE
)
{
TRACE
(
"Waiting on action %s
\n
"
,
debugstr_w
(
action
->
name
)
);
msi_dialog_check_messages
(
action
->
handle
);
}
CloseHandle
(
action
->
handle
);
CloseHandle
(
action
->
handle
);
msi_free
(
action
->
name
);
msi_free
(
action
->
name
);
...
...
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