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
25c70738
Commit
25c70738
authored
Jul 12, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
appwiz.cpl: Use nameless unions/structs.
parent
26d95467
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
10 deletions
+6
-10
addons.c
dlls/appwiz.cpl/addons.c
+1
-3
appwiz.c
dlls/appwiz.cpl/appwiz.c
+5
-7
No files found.
dlls/appwiz.cpl/addons.c
View file @
25c70738
...
...
@@ -22,8 +22,6 @@
#include <errno.h>
#define COBJMACROS
#define NONAMELESSUNION
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
...
...
@@ -518,7 +516,7 @@ static HRESULT WINAPI InstallCallback_OnDataAvailable(IBindStatusCallback *iface
DWORD
dwSize
,
FORMATETC
*
pformatetc
,
STGMEDIUM
*
pstgmed
)
{
if
(
!
msi_file
)
{
msi_file
=
wcsdup
(
pstgmed
->
u
.
lpszFileName
);
msi_file
=
wcsdup
(
pstgmed
->
lpszFileName
);
TRACE
(
"got file name %s
\n
"
,
debugstr_w
(
msi_file
));
}
...
...
dlls/appwiz.cpl/appwiz.c
View file @
25c70738
...
...
@@ -23,8 +23,6 @@
*
*/
#define NONAMELESSUNION
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -926,8 +924,8 @@ static void StartApplet(HWND hWnd)
psp
.
dwSize
=
sizeof
(
PROPSHEETPAGEW
);
psp
.
dwFlags
=
PSP_USETITLE
;
psp
.
hInstance
=
hInst
;
psp
.
u
.
pszTemplate
=
MAKEINTRESOURCEW
(
IDD_MAIN
);
psp
.
u2
.
pszIcon
=
NULL
;
psp
.
pszTemplate
=
MAKEINTRESOURCEW
(
IDD_MAIN
);
psp
.
pszIcon
=
NULL
;
psp
.
pfnDlgProc
=
MainDlgProc
;
psp
.
pszTitle
=
tab_title
;
psp
.
lParam
=
0
;
...
...
@@ -937,12 +935,12 @@ static void StartApplet(HWND hWnd)
psh
.
dwFlags
=
PSH_PROPSHEETPAGE
|
PSH_USEICONID
|
PSH_USECALLBACK
;
psh
.
hwndParent
=
hWnd
;
psh
.
hInstance
=
hInst
;
psh
.
u
.
pszIcon
=
MAKEINTRESOURCEW
(
ICO_MAIN
);
psh
.
pszIcon
=
MAKEINTRESOURCEW
(
ICO_MAIN
);
psh
.
pszCaption
=
app_title
;
psh
.
nPages
=
1
;
psh
.
u3
.
ppsp
=
&
psp
;
psh
.
ppsp
=
&
psp
;
psh
.
pfnCallback
=
propsheet_callback
;
psh
.
u2
.
nStartPage
=
0
;
psh
.
nStartPage
=
0
;
/* Display the property sheet */
PropertySheetW
(
&
psh
);
...
...
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