windowscodecs: Fix compilation on systems that don't support nameless unions.
This commit is contained in:
parent
6522393265
commit
259153001f
@ -21,6 +21,7 @@
|
|||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#define COBJMACROS
|
#define COBJMACROS
|
||||||
|
#define NONAMELESSUNION
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
@ -567,8 +568,8 @@ static HRESULT LoadUnknownMetadata(IStream *input, const GUID *preferred_vendor,
|
|||||||
PropVariantInit(&result[0].value);
|
PropVariantInit(&result[0].value);
|
||||||
|
|
||||||
result[0].value.vt = VT_BLOB;
|
result[0].value.vt = VT_BLOB;
|
||||||
result[0].value.blob.cbSize = bytesread;
|
result[0].value.u.blob.cbSize = bytesread;
|
||||||
result[0].value.blob.pBlobData = data;
|
result[0].value.u.blob.pBlobData = data;
|
||||||
|
|
||||||
*items = result;
|
*items = result;
|
||||||
*item_count = 1;
|
*item_count = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user