Nikolay Sivov
a5582d77cf
oleaut32/tests: Fix safearray leaks, test return value after array destruction.
2011-01-24 12:35:02 +01:00
Michael Stefaniuc
366a92146d
oleaut32/tests: Standardize the COM usage in tmarshal.c.
2010-12-21 15:49:43 +01:00
Vincent Povirk
8ff7238ade
oleaut32: Allow named args to be combined with positional args in fnInvoke.
2010-03-22 10:42:23 +01:00
Vincent Povirk
5893f3227c
oleaut32: Always use DISPID_PROPERTYPUT to fill in the last argument.
2010-03-17 10:07:57 +01:00
Huw Davies
dba91c0643
oleaut32: Add a test for non-oleautomation error handling.
2010-03-02 16:44:08 +01:00
Rob Shearman
a94265e5a9
oleaut32: Fix accessing beyond end of buffer and memory leak in test_DispCallFunc.
...
The parameter isn't automatically converted by DispCallFunc, so make
sure we pass in the correct size of memory for the function to store
its BSTR in.
2009-11-29 16:39:53 +01:00
Rob Shearman
87c47219ae
oleaut32: Fix a reference count leak in NonOleAutomation_GetTypeInfo.
...
Also enable a test which now works in Wine.
2009-11-19 14:24:19 +01:00
Rob Shearman
6d7572c0e7
oleaut32: Unmarshall byref types correctly in IDispatch_Invoke_Proxy.
...
Byref arguments should only be passed in the rgVarRef array, not in
arg array. Copy the value into the rgVarRef array before calling the
remote function to ensure that memory isn't allocated for the byref
pointers during unmarshalling.
2009-11-18 11:15:27 +01:00
Rob Shearman
4c8eec346d
oleaut32: Add a test for the memory pointed to by a byref parameter being preserved through a remote IDispatch::Invoke call.
2009-11-17 15:15:11 +01:00
Jeremy White
b8d7088e88
oleaut32: Implement the ability to marshall VT_CARRAY's of user defined types.
2009-10-26 11:19:12 +01:00
Jeremy White
1e0b836712
oleaut32: StructArg tests cannot rely on an unpacked structure memcmp.
2009-10-26 11:17:41 +01:00
Vincent Povirk
a9221d7688
oleaut32/tests: Add test for tlibattr->lcid.
2009-09-02 15:48:24 +02:00
Vincent Povirk
34f1d8a200
oleaut32: Handle LCID arguments in ITypeInfo::Invoke.
2009-09-02 15:48:14 +02:00
Vincent Povirk
3e542bc60e
oleaut32: Map INT and UINT typedesc's to VT_I4 and VT_UI4.
2009-08-20 15:25:54 +02:00
Vincent Povirk
2ae20e45c7
oleaut32: Add test for INT and UINT property return values.
2009-08-20 15:25:44 +02:00
Alexandre Julliard
ee868cce5b
tests: Make wine_dbgstr_w available in test.h for all tests.
2009-08-19 13:19:31 +02:00
Huw Davies
4b0a6a18b2
oleaut32/tests: Add some tests for [lcid] parameters.
2009-06-17 17:23:21 +02:00
Alexandre Julliard
1c75ab091c
oleaut32/tests: Fix the tmarshal test on 64-bit.
2009-05-21 16:17:50 +02:00
Francois Gouget
1ef2f3844f
oleaut32/tests: Replace realloc() with HeapReAlloc().
2009-05-19 12:01:09 +02:00
Michael Stefaniuc
efbb4ebf3e
widl: Output "LONG" instead of "long" for a 32bit integer.
...
long is always 32bit in IDL files but that's not true in C.
2009-03-13 11:15:21 +01:00
Michael Stefaniuc
330e6d86f9
oleaut32/tests: Remove superfluous pointer casts.
2009-01-29 14:05:58 +01:00
Rob Shearman
17a30ff2e8
oleaut32: Test the return value of the remote IWidget_StructArgs call.
2009-01-12 13:07:10 +01:00
Francois Gouget
c597792400
oleaut32/tests: Make the Widget_*() and KindaEnum_*() functions static.
2008-12-15 12:25:46 +01:00
Mikołaj Zalewski
5c2fd1b192
oleaut32: VT_USERDEFINED records are passed by value.
2008-09-16 11:31:32 +02:00
Detlef Riekenberg
c81b2b2c74
oleaut32/tests: Fix tmarshal tests on win9x.
2008-07-21 14:45:45 +02:00
Jacek Caban
6971db7ee3
oleaut32: Added test showing need to QueryInterface on dual interface in ITypeInfo::Invoke.
2008-06-30 12:11:40 +02:00
Paul Vriens
4ee90e94f6
oleaut32/tests: Cleanup typelib after the test.
2008-06-02 12:11:52 +02:00
Rob Shearman
4d08815173
oleaut32: Fix some reference count leaks in the tmarshal test.
2008-02-04 13:02:55 +01:00
Rob Shearman
83a02c545c
oleaut32: Fix a leak of the typelib in the tmarshal tests.
2007-12-07 17:06:20 +01:00
Rob Shearman
d7682104e6
oleaut32: Fix two memory leaks in the test for DispCallFunc.
2007-12-07 17:06:15 +01:00
Michael Stefaniuc
ab7e33641b
oleaut32: Remove superfluous casts of void pointers to other pointer types.
2007-06-27 12:53:28 +02:00
Huw Davies
17fca45d41
oleaut32: Interfaces that derive from IDispatch should be marshaled as VT_DISPATCH.
2007-06-25 11:34:23 +02:00
Misha Koshelev
428ed94fa9
oleaut32: Add support for vararg functions in ITypeInfo::Invoke.
2007-06-07 13:00:09 +02:00
Misha Koshelev
127385e718
oleaut32/tests: Add tests for IDispatch::Invoke of vararg function.
2007-06-07 13:00:09 +02:00
Rob Shearman
5edc7fd5ef
oleaut32: TKIND_COCLASS parameters to Invoke'd functions should be converted into VT_DISPATCH instead of VT_UNKNOWN.
...
Add a test for this.
2007-03-08 13:50:45 +01:00
Rob Shearman
30b6f9acd6
oleaut32: Fix the return value of ITypeInfo::Invoke when the property-put named argument isn't DISPID_PROPERTYPUT.
2007-02-08 12:59:36 +01:00
Rob Shearman
a3235dd1d4
oleaut32: Implement automatic value getting in ITypeInfo::Invoke.
...
If an IDispatch object is returned from in the retval for a propget
function and an extra parameter was passed in to ITypeInfo::Invoke then
it should call IDispatch::Invoke on the returned object with the extra
parameter to retrieve the value of the object, which is then returned in
pVarResult.
2007-02-08 12:59:32 +01:00
Rob Shearman
8b43f8bec9
oleaut32: Fix the IDL for the "Value" method in the tmarshal tests.
2007-02-08 12:59:26 +01:00
Rob Shearman
d794398e73
oleaut32: Comment out "dual" attribute of IKindaEnumWidget in tmarshal test to cause the interface to be marshaled correctly.
...
This fixes a bunch of tmarshal tests.
2007-02-08 12:59:23 +01:00
Rob Shearman
d2a38cef99
oleaut32: Always register the typelib for the tmarshal tests.
2007-02-08 12:58:35 +01:00
Rob Shearman
7574fede93
oleaut32: Fix a one-off test failure in the tmarshal tests - TYPE_E_LIBNOTREGISTERED is an expected return value.
2007-02-07 21:45:12 +01:00
Rob Shearman
702e2c6dc2
oleaut32: Copy the value directly returned from the called function
...
if it is not an HRESULT value, instead of getting it from a [retval]
attribute.
2007-02-06 22:05:50 +01:00
Alexandre Julliard
d857d0f767
oleaut32/tests: Fix the FSF address.
2007-01-23 14:01:11 +01:00
Alexandre Julliard
aa9dcb4201
oleaut32/tests: Add tmarshal test.
2007-01-23 12:43:53 +01:00