Commit Graph

557 Commits

Author SHA1 Message Date
Zebediah Figura f72f8e5c40 oleaut32: Register non-dual dispinterfaces using the correct proxy.
Fixes a bug where NetLinx Studio 4 would fail to compile files.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-11 11:52:00 +01:00
Dmitry Timoshkov 54d17b9532 oleaut32: Accept DISP_E_PARAMNOTFOUND for missing optional parameters in ITypeInfo::Invoke implementation.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 10:51:23 +01:00
Zebediah Figura 94f4b49d78 oleaut32: Handle coclasses in ITypeInfo_Invoke().
Based on a patch by Sebastian Lackner.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=39799
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-14 17:48:55 +01:00
Sebastian Lackner ab6d4a9d3d oleaut32: Pass a HREFTYPE to get_iface_guid.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-14 17:48:55 +01:00
Alexandre Julliard b73972b9df oleaut32: Fix argument order with instance and VARIANT return type.
Spotted by Dmitry Timoshkov.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-13 20:54:28 +01:00
Zebediah Figura 077b4391d4 oleaut32: Rip out the old typelib marshaller.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-12 13:15:27 +01:00
Michael Stefaniuc a1e0a029b0 oleaut32: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-29 22:01:39 +02:00
Alexandre Julliard 3c562da161 oleaut32: Explicitly define call_double_method() to avoid function mismatch warning.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 07:16:06 +02:00
Zebediah Figura bab41c8aea oleaut32: Correct some comments.
This corresponds to 652ec646ad affecting widl.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-21 11:16:18 +02:00
Michael Stefaniuc d0ecd514b4 oleaut32: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 19:38:30 +01:00
Huw Davies dd012af92a oleaut32: Fix vtable offset for a SYS_WIN32 typelib loaded on WIN64.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 10:27:57 +01:00
Alexandre Julliard b67dc2f4da oleaut32: Fix ARM floating point register allocations.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-08 16:45:56 +01:00
Alexandre Julliard 46aedd2ba4 oleaut32: Disable floating point instructions for the soft-float ARM build.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-08 16:45:56 +01:00
Piotr Caban 61c18632b8 oleaut32: Fix automatic value getting in ITypeInfo::Invoke.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-07 21:24:45 +01:00
Donna Whisnant 0b393119bb oleaut32: Add ARM support to DispCallFunc().
Signed-off-by: Donna Whisnant <dewhisna@dewtronics.com>
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-01 23:16:07 +01:00
Fabian Maurer c0da750e8a oleaut32: In userdefined_to_variantvt remove unneeded statement (cppcheck).
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-03 19:58:17 +02:00
Nils Kuhnhenn 0dde88202a oleaut32: Use variable with the correct type in LIST_FOR_EACH_ENTRY_SAFE macro.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-16 18:10:38 +02:00
Dmitry Timoshkov cf45f3bcc8 oleaut32: Add an arguments check to LoadTypeLibEx.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-07 11:24:47 +02:00
Francois Gouget 78ee7f57fa oleaut32: Standardize the heap_xxx() functions.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-09 11:23:43 +01:00
Nikolay Sivov 9e54ae767e oleaut32: Return proper interface pointers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-08 16:00:58 +01:00
Nikolay Sivov 37745b093d oleaut32: Fix AddFuncDesc() to ignore scodes array length when NULL array pointer is passed.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-26 22:42:49 +09:00
Nikolay Sivov 5c4cbc9d60 oleaut32: Support querying for ITypeComp from ITypeInfo.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-26 22:42:39 +09:00
Nikolay Sivov e90a17d20f oleaut32: Keep most of typeinfo attributes in TYPEATTR structure.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-24 12:05:47 +09:00
Piotr Caban aa56d735df oleaut32: Add ICreateTypeLib2::SetCustData implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 21:27:18 +09:00
Piotr Caban 17af4fe592 oleaut32: Update cdguid on data reallocation in WMSFT_compile_custdata.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 21:27:07 +09:00
Piotr Caban 2142bde3e2 oleaut32: Add support for best version argument in LoadRegTypeLib.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 18:17:37 +09:00
Piotr Caban dcd9b8ea0e oleaut32: Fix best version handling in QueryPathOfRegTypeLib when type library redirection is used.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 18:17:26 +09:00
Dmitry Timoshkov 1616f0ede9 oleaut32: Simplify 'for' loop.
Variable 'i' is not used neither in the loop nor at its end.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:16:50 +09:00
Dmitry Timoshkov 6c83dd2d99 oleaut32: Use correct interface pointer. 2015-09-15 16:59:15 +09:00
Dmitry Timoshkov 97ce5f4874 oleaut32: Add support for handling VT_VARIANT|VT_ARRAY|VT_BYREF argument type. 2015-09-10 17:22:43 +09:00
Dmitry Timoshkov 755feaca39 oleaut32: Don't assume that SAFEARRAY is the last parameter in an varargs method. 2015-09-07 15:05:22 +09:00
Josh DuBois ee3bb31a6f oleaut32: Avoid movs between rcx, rdx and xmm registers.
Apple's version of as chokes on movs between rcx and rdx and the xmm
registers.
2015-05-06 20:45:25 +09:00
Andrew Eikum 4a7b5856da oleaut32: Allow typelib filenames longer than MAX_PATH. 2015-03-24 13:49:07 +09:00
Francois Gouget 4d65584f8a oleaut32: Remove unneeded NONAMELESSXXX directives. 2015-03-17 14:18:59 +09:00
André Hentschel 099514e753 oleaut32: Remove unused code (Clang). 2014-12-02 10:31:33 +01:00
Guillaume Charifi 9e4590ff67 oleaut32: Implement TLB dependencies lookup in resources. 2014-11-04 23:03:30 +09:00
Michael Stefaniuc 39eede134e oleaut32: Clarify cast operation (PVS-Studio). 2014-10-28 13:52:03 +09:00
Akihiro Sagawa 86b7fc3829 oleaut32: Delete opposite side keys on UnRegisterTypeLib. 2014-06-11 19:15:14 +02:00
Jacek Caban 04a573a66e oleaut32: Replaced dump_Variant by debugstr_variant. 2014-05-24 11:02:39 +09:00
Jacek Caban 18a42e0211 oleaut32: Use debugstr_variant for dump_Variant implementation. 2014-05-24 11:02:30 +09:00
Jacek Caban 5614770c24 oleaut32: Rewrite debugstr_vt. 2014-05-24 11:02:20 +09:00
Nikolay Sivov 0c0fe4efb4 oleaut32: Always free TLIBATTR in LoadRegTypeLib() (Valgrind). 2014-04-28 14:00:58 +02:00
Nikolay Sivov c46debeeeb widl: Fix pointer size for SYS_WIN64 typelibs.
The fact that test data was wrong was hidden by broken widl typelib,
and same test typelib was used on windows so we never get proper test
results. Standard IUnknown/IDispatch that live in system stdole2.tlb
are also tested now.
2014-01-27 14:13:54 +01:00
Andrew Eikum 57895e5a8c oleaut32: Improve ITypeLib::FindName. 2014-01-27 14:13:38 +01:00
Nikolay Sivov 1abafbffda oleaut32: Use CoTaskMem* when dealing with CUSTDATA. 2014-01-27 14:13:37 +01:00
Alexandre Julliard a414681648 oleaut32: Don't create non-existent typelib files. 2013-12-30 20:35:02 +01:00
Frédéric Delanoy 57d7f74d34 Assorted spelling fixes. 2013-11-21 19:44:46 +01:00
Frédéric Delanoy 128e4575e5 oleaut32: Use BOOL type where appropriate. 2013-11-21 13:36:08 +01:00
Nikolay Sivov 7be2251cd6 oleaut32: Always set LIBFLAG_FHASDISKIMAGE when loading from file. 2013-11-13 18:30:39 +01:00
Frédéric Delanoy f4dc64918e oleaut32: Use BOOL type where appropriate. 2013-10-18 12:34:39 +02:00