Commit 25c70738 authored by Alexandre Julliard's avatar Alexandre Julliard

appwiz.cpl: Use nameless unions/structs.

parent 26d95467
......@@ -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));
}
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment