Zebediah Figura : stdole2.idl: Use more accurate sizes for Automation types.
Module: wine Branch: master Commit: 70e5d5fd2e8501f36e4f3b2bccbdc55e25d31ee4 URL: https://source.winehq.org/git/wine.git/?a=commit;h=70e5d5fd2e8501f36e4f3b2bc... Author: Zebediah Figura <z.figura12(a)gmail.com> Date: Mon Jun 4 17:59:33 2018 -0500 stdole2.idl: Use more accurate sizes for Automation types. Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com> Signed-off-by: Huw Davies <huw(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- include/stdole2.idl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/stdole2.idl b/include/stdole2.idl index 18c402a..d372384 100644 --- a/include/stdole2.idl +++ b/include/stdole2.idl @@ -32,15 +32,15 @@ ] library stdole { - /* typedefs aren't stored in the type library. - These type names are known by the type compiler so it - doesn't really matter what we define them as. */ - + /* These typedefs need to have the same size as their real counterparts. */ typedef short VARIANT_BOOL; - typedef long BSTR; + typedef void *BSTR; typedef double CURRENCY; typedef unsigned long HRESULT; - typedef void *VARIANT; + typedef struct { + short word1, word2, word3, word4; + void *ptr1, *ptr2; + } VARIANT; typedef unsigned long SCODE; typedef struct GUID {
participants (1)
-
Alexandre Julliard