Rob Shearman : include: Use placeholder structures with at least one field in vmr9.idl.

Alexandre Julliard julliard at winehq.org
Tue Sep 9 05:50:33 CDT 2008


Module: wine
Branch: master
Commit: b49835229e333e0075215afef9ed151107d23da7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b49835229e333e0075215afef9ed151107d23da7

Author: Rob Shearman <robertshearman at gmail.com>
Date:   Mon Sep  8 23:20:51 2008 +0100

include: Use placeholder structures with at least one field in vmr9.idl.

MIDL won't parse structures with no fields.

---

 include/vmr9.idl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/vmr9.idl b/include/vmr9.idl
index b7f916c..bb3681c 100644
--- a/include/vmr9.idl
+++ b/include/vmr9.idl
@@ -25,8 +25,8 @@ typedef LONGLONG REFERENCE_TIME;
 typedef DWORD D3DFORMAT;
 typedef DWORD D3DPOOL;
 typedef HANDLE HMONITOR;
-typedef struct { } AM_MEDIA_TYPE;
-typedef struct { } D3DCOLOR;
+typedef struct { char dummy; } AM_MEDIA_TYPE;
+typedef struct { char dummy; } D3DCOLOR;
 cpp_quote("#endif")
 
 interface IVMRSurface9;




More information about the wine-cvs mailing list