Commit 502f6c56 authored by Alexandre Julliard's avatar Alexandre Julliard

Removed incorrect uses of DUMMYUNIONNAME.

parent 8cbb94ca
......@@ -1161,7 +1161,7 @@ TREEVIEW_DoSetItemT(TREEVIEW_INFO *infoPtr, TREEVIEW_ITEM *wineItem,
static LRESULT
TREEVIEW_InsertItemT(TREEVIEW_INFO *infoPtr, const TVINSERTSTRUCTW *ptdi, BOOL isW)
{
const TVITEMEXW *tvItem = &ptdi->DUMMYUNIONNAME.itemex;
const TVITEMEXW *tvItem = &ptdi->u.itemex;
HTREEITEM insertAfter;
TREEVIEW_ITEM *newItem, *parentItem;
BOOL bTextUpdated = FALSE;
......
......@@ -180,7 +180,7 @@ UINT WINAPI MsiSummaryInfoGetPropertyA(
return ERROR_INVALID_HANDLE;
spec.ulKind = PRSPEC_PROPID;
spec.DUMMYUNIONNAME.propid = uiProperty;
spec.u.propid = uiProperty;
r = IPropertyStorage_ReadMultiple( suminfo->propstg, 1, &spec, &var);
if( FAILED(r) )
......@@ -193,18 +193,18 @@ UINT WINAPI MsiSummaryInfoGetPropertyA(
{
case VT_I4:
if( piValue )
*piValue = var.DUMMYUNIONNAME.lVal;
*piValue = var.u.lVal;
break;
case VT_LPSTR:
if( pcchValueBuf && szValueBuf )
{
lstrcpynA(szValueBuf, var.DUMMYUNIONNAME.pszVal, *pcchValueBuf );
*pcchValueBuf = lstrlenA( var.DUMMYUNIONNAME.pszVal );
lstrcpynA(szValueBuf, var.u.pszVal, *pcchValueBuf );
*pcchValueBuf = lstrlenA( var.u.pszVal );
}
break;
case VT_FILETIME:
if( pftValue )
memcpy(pftValue, &var.DUMMYUNIONNAME.filetime, sizeof (FILETIME) );
memcpy(pftValue, &var.u.filetime, sizeof (FILETIME) );
break;
case VT_EMPTY:
break;
......
......@@ -202,7 +202,7 @@ static HTREEITEM InsertTreeViewItem(IShellFolder * lpsf, LPCITEMIDLIST pidl, LPC
lptvid->pEnumIL = pEnumIL;
GetNormalAndSelectedIcons(lptvid->lpifq, &tvi);
tvins.DUMMYUNIONNAME.item = tvi;
tvins.u.item = tvi;
tvins.hInsertAfter = NULL;
tvins.hParent = hParent;
......
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