ole32/tests: Don't use the NONAMELESS* macros in the tests.
This commit is contained in:
parent
2fab58053e
commit
49ad2b10c1
@ -19,8 +19,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define COBJMACROS
|
#define COBJMACROS
|
||||||
#define NONAMELESSUNION
|
|
||||||
#define NONAMELESSSTRUCT
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
@ -201,7 +199,7 @@ static HRESULT WINAPI DataObjectImpl_GetData(IDataObject* iface, FORMATETC *pfor
|
|||||||
return DV_E_TYMED;
|
return DV_E_TYMED;
|
||||||
|
|
||||||
if(This->text && pformatetc->cfFormat == CF_TEXT)
|
if(This->text && pformatetc->cfFormat == CF_TEXT)
|
||||||
pmedium->u.hGlobal = This->text;
|
U(*pmedium).hGlobal = This->text;
|
||||||
else
|
else
|
||||||
return DV_E_FORMATETC;
|
return DV_E_FORMATETC;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user