Commit c8db4e62 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

include: Add DUMMYUNIONNAME to unions in the _wireVARIANT, TYPEDESC and VARDESC…

include: Add DUMMYUNIONNAME to unions in the _wireVARIANT, TYPEDESC and VARDESC structures in oaidl.idl.
parent 56502ebb
...@@ -286,7 +286,7 @@ struct _wireVARIANT { ...@@ -286,7 +286,7 @@ struct _wireVARIANT {
[case(VT_DISPATCH|VT_BYREF)] IDispatch **ppdispVal; [case(VT_DISPATCH|VT_BYREF)] IDispatch **ppdispVal;
[case(VT_ARRAY|VT_BYREF)] wireSAFEARRAY *pparray; [case(VT_ARRAY|VT_BYREF)] wireSAFEARRAY *pparray;
[case(VT_RECORD, VT_RECORD|VT_BYREF)] wireBRECORD brecVal; [case(VT_RECORD, VT_RECORD|VT_BYREF)] wireBRECORD brecVal;
}; } DUMMYUNIONNAME;
}; };
/* Dispatch */ /* Dispatch */
...@@ -313,7 +313,7 @@ typedef struct tagTYPEDESC { ...@@ -313,7 +313,7 @@ typedef struct tagTYPEDESC {
[case(VT_CARRAY)] struct tagARRAYDESC *lpadesc; [case(VT_CARRAY)] struct tagARRAYDESC *lpadesc;
[case(VT_USERDEFINED)] HREFTYPE hreftype; [case(VT_USERDEFINED)] HREFTYPE hreftype;
[default] ; [default] ;
}; } DUMMYUNIONNAME;
VARTYPE vt; VARTYPE vt;
} TYPEDESC; } TYPEDESC;
...@@ -484,7 +484,7 @@ typedef struct tagVARDESC { ...@@ -484,7 +484,7 @@ typedef struct tagVARDESC {
[switch_is(varkind)] union { [switch_is(varkind)] union {
[case(VAR_PERINSTANCE, VAR_DISPATCH, VAR_STATIC)] ULONG oInst; [case(VAR_PERINSTANCE, VAR_DISPATCH, VAR_STATIC)] ULONG oInst;
[case(VAR_CONST)] VARIANT *lpvarValue; [case(VAR_CONST)] VARIANT *lpvarValue;
}; } DUMMYUNIONNAME;
ELEMDESC elemdescVar; ELEMDESC elemdescVar;
WORD wVarFlags; WORD wVarFlags;
VARKIND varkind; VARKIND varkind;
......
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