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
ec765090
Commit
ec765090
authored
Jul 26, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Merge events.c into dialog.c.
parent
3169db2b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
21 deletions
+7
-21
Makefile.in
dlls/msi/Makefile.in
+0
-1
dialog.c
dlls/msi/dialog.c
+0
-0
events.c
dlls/msi/events.c
+0
-0
msipriv.h
dlls/msi/msipriv.h
+2
-15
package.c
dlls/msi/package.c
+5
-5
No files found.
dlls/msi/Makefile.in
View file @
ec765090
...
...
@@ -17,7 +17,6 @@ C_SRCS = \
dialog.c
\
distinct.c
\
drop.c
\
events.c
\
files.c
\
font.c
\
format.c
\
...
...
dlls/msi/dialog.c
View file @
ec765090
This diff is collapsed.
Click to expand it.
dlls/msi/events.c
deleted
100644 → 0
View file @
3169db2b
This diff is collapsed.
Click to expand it.
dlls/msi/msipriv.h
View file @
ec765090
...
...
@@ -934,18 +934,9 @@ extern LONG msi_reg_set_val_dword( HKEY hkey, LPCWSTR name, DWORD val ) DECLSPEC
extern
LONG
msi_reg_set_subkey_val
(
HKEY
hkey
,
LPCWSTR
path
,
LPCWSTR
name
,
LPCWSTR
val
)
DECLSPEC_HIDDEN
;
/* msi dialog interface */
typedef
UINT
(
*
msi_dialog_event_handler
)(
MSIPACKAGE
*
,
LPCWSTR
,
LPCWSTR
,
msi_dialog
*
);
extern
msi_dialog
*
msi_dialog_create
(
MSIPACKAGE
*
,
LPCWSTR
,
msi_dialog
*
,
msi_dialog_event_handler
)
DECLSPEC_HIDDEN
;
extern
UINT
msi_dialog_run_message_loop
(
msi_dialog
*
)
DECLSPEC_HIDDEN
;
extern
void
msi_dialog_end_dialog
(
msi_dialog
*
)
DECLSPEC_HIDDEN
;
extern
void
msi_dialog_check_messages
(
HANDLE
)
DECLSPEC_HIDDEN
;
extern
void
msi_dialog_destroy
(
msi_dialog
*
)
DECLSPEC_HIDDEN
;
extern
void
msi_dialog_unregister_class
(
void
)
DECLSPEC_HIDDEN
;
extern
void
msi_dialog_handle_event
(
msi_dialog
*
,
LPCWSTR
,
LPCWSTR
,
MSIRECORD
*
)
DECLSPEC_HIDDEN
;
extern
UINT
msi_dialog_reset
(
msi_dialog
*
dialog
)
DECLSPEC_HIDDEN
;
extern
UINT
msi_dialog_directorylist_up
(
msi_dialog
*
dialog
)
DECLSPEC_HIDDEN
;
extern
msi_dialog
*
msi_dialog_get_parent
(
msi_dialog
*
dialog
)
DECLSPEC_HIDDEN
;
extern
LPWSTR
msi_dialog_get_name
(
msi_dialog
*
dialog
)
DECLSPEC_HIDDEN
;
extern
UINT
msi_spawn_error_dialog
(
MSIPACKAGE
*
,
LPWSTR
,
LPWSTR
)
DECLSPEC_HIDDEN
;
/* summary information */
...
...
@@ -1066,12 +1057,8 @@ extern BOOL msi_cabextract(MSIPACKAGE* package, MSIMEDIAINFO *mi, LPVOID data) D
extern
UINT
msi_add_cabinet_stream
(
MSIPACKAGE
*
,
UINT
,
IStorage
*
,
const
WCHAR
*
)
DECLSPEC_HIDDEN
;
/* control event stuff */
extern
VOID
ControlEvent_FireSubscribedEvent
(
MSIPACKAGE
*
package
,
LPCWSTR
event
,
MSIRECORD
*
data
)
DECLSPEC_HIDDEN
;
extern
VOID
ControlEvent_CleanupDialogSubscriptions
(
MSIPACKAGE
*
package
,
LPWSTR
dialog
)
DECLSPEC_HIDDEN
;
extern
VOID
ControlEvent_CleanupSubscriptions
(
MSIPACKAGE
*
package
)
DECLSPEC_HIDDEN
;
extern
VOID
ControlEvent_SubscribeToEvent
(
MSIPACKAGE
*
package
,
msi_dialog
*
dialog
,
LPCWSTR
event
,
LPCWSTR
control
,
LPCWSTR
attribute
)
DECLSPEC_HIDDEN
;
extern
void
msi_event_fire
(
MSIPACKAGE
*
,
const
WCHAR
*
,
MSIRECORD
*
)
DECLSPEC_HIDDEN
;
extern
void
msi_event_cleanup_all_subscriptions
(
MSIPACKAGE
*
)
DECLSPEC_HIDDEN
;
/* OLE automation */
typedef
enum
tid_t
{
...
...
dlls/msi/package.c
View file @
ec765090
...
...
@@ -341,7 +341,7 @@ static void free_package_structures( MSIPACKAGE *package )
remove_tracked_tempfiles
(
package
);
/* cleanup control event subscriptions */
ControlEvent_CleanupS
ubscriptions
(
package
);
msi_event_cleanup_all_s
ubscriptions
(
package
);
}
static
void
MSI_FreePackage
(
MSIOBJECTHDR
*
arg
)
...
...
@@ -1937,7 +1937,7 @@ INT MSI_ProcessMessage( MSIPACKAGE *package, INSTALLMESSAGE eMessageType, MSIREC
MSI_RecordSetStringW
(
uirow
,
1
,
deformated
);
msi_free
(
deformated
);
ControlEvent_FireSubscribedEvent
(
package
,
szActionData
,
uirow
);
msi_event_fire
(
package
,
szActionData
,
uirow
);
msiobj_release
(
&
uirow
->
hdr
);
if
(
package
->
action_progress_increment
)
...
...
@@ -1945,7 +1945,7 @@ INT MSI_ProcessMessage( MSIPACKAGE *package, INSTALLMESSAGE eMessageType, MSIREC
uirow
=
MSI_CreateRecord
(
2
);
MSI_RecordSetInteger
(
uirow
,
1
,
2
);
MSI_RecordSetInteger
(
uirow
,
2
,
package
->
action_progress_increment
);
ControlEvent_FireSubscribedEvent
(
package
,
szSetProgress
,
uirow
);
msi_event_fire
(
package
,
szSetProgress
,
uirow
);
msiobj_release
(
&
uirow
->
hdr
);
}
break
;
...
...
@@ -1956,13 +1956,13 @@ INT MSI_ProcessMessage( MSIPACKAGE *package, INSTALLMESSAGE eMessageType, MSIREC
MSI_RecordSetStringW
(
uirow
,
1
,
deformated
);
msi_free
(
deformated
);
ControlEvent_FireSubscribedEvent
(
package
,
szActionText
,
uirow
);
msi_event_fire
(
package
,
szActionText
,
uirow
);
msiobj_release
(
&
uirow
->
hdr
);
break
;
case
INSTALLMESSAGE_PROGRESS
:
ControlEvent_FireSubscribedEvent
(
package
,
szSetProgress
,
record
);
msi_event_fire
(
package
,
szSetProgress
,
record
);
break
;
}
...
...
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