mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[PSDK] Update oleauto.h. CORE-10536
svn path=/trunk/; revision=69912
This commit is contained in:
parent
2d36c27748
commit
1024999f67
1 changed files with 8 additions and 4 deletions
|
@ -203,11 +203,15 @@ HRESULT WINAPI GetRecordInfoFromGuids(REFGUID,ULONG,ULONG,LCID,REFGUID,IRecordIn
|
|||
|
||||
/* Macros for accessing the fields of the VARIANT type */
|
||||
#if (__STDC__ && !defined(_FORCENAMELESSUNION)) || defined(NONAMELESSUNION)
|
||||
#define V_UNION(A,B) ((A)->n1.n2.n3.B)
|
||||
#define V_VT(A) ((A)->n1.n2.vt)
|
||||
#define V_UNION(A,B) ((A)->n1.n2.n3.B)
|
||||
#define V_RECORD(A) (V_UNION(A,brecVal).pvRecord)
|
||||
#define V_RECORDINFO(A) (V_UNION(A,brecVal).pRecInfo)
|
||||
#else
|
||||
#define V_UNION(A,B) ((A)->B)
|
||||
#define V_VT(A) ((A)->vt)
|
||||
#define V_UNION(A,B) ((A)->B)
|
||||
#define V_RECORD(A) ((A)->pvRecord)
|
||||
#define V_RECORDINFO(A) ((A)->pRecInfo)
|
||||
#endif
|
||||
|
||||
#define V_ISBYREF(A) (V_VT(A) & VT_BYREF)
|
||||
|
|
Loading…
Reference in a new issue