mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 14:44:57 +00:00
winemac.drv: Use nameless unions/structs.
This commit is contained in:
parent
744237ecf6
commit
bb9030cb78
|
@ -20,8 +20,6 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define NONAMELESSUNION
|
|
||||||
|
|
||||||
#include "ntstatus.h"
|
#include "ntstatus.h"
|
||||||
#define WIN32_NO_STATUS
|
#define WIN32_NO_STATUS
|
||||||
#include "macdrv_dll.h"
|
#include "macdrv_dll.h"
|
||||||
|
@ -167,9 +165,9 @@ static HRESULT WINAPI dddo_GetData(IDataObject* iface, FORMATETC* formatEtc, STG
|
||||||
if (SUCCEEDED(hr))
|
if (SUCCEEDED(hr))
|
||||||
{
|
{
|
||||||
medium->tymed = TYMED_HGLOBAL;
|
medium->tymed = TYMED_HGLOBAL;
|
||||||
medium->u.hGlobal = get_pasteboard_data(This->pasteboard, formatEtc->cfFormat);
|
medium->hGlobal = get_pasteboard_data(This->pasteboard, formatEtc->cfFormat);
|
||||||
medium->pUnkForRelease = NULL;
|
medium->pUnkForRelease = NULL;
|
||||||
hr = medium->u.hGlobal ? S_OK : E_OUTOFMEMORY;
|
hr = medium->hGlobal ? S_OK : E_OUTOFMEMORY;
|
||||||
}
|
}
|
||||||
|
|
||||||
return hr;
|
return hr;
|
||||||
|
|
Loading…
Reference in a new issue