Commit Graph

178 Commits

Author SHA1 Message Date
Huw Davies adeba6ee80 oleaut32: Only oleautomation interfaces as well as all dispinterfaces should be registered. 2010-04-01 18:12:58 +02:00
Francois Gouget 5ca6d9b5be oleaut32/tests: Fix compilation on systems that don't support nameless unions. 2010-03-29 11:45:31 +02:00
Piotr Caban cca98c460d oleaut32/tests: Make tests working on older systems, prevent crash on some wine boxes. 2010-03-18 11:14:23 +01:00
Piotr Caban 45306f8671 oleaut32: Improve ITypeInfo2 GetTypeAttr implementation. 2010-03-18 11:14:17 +01:00
Piotr Caban aecd956b7e oleaut32: Improved ICreateTypeInfo AddFuncDesc implementation. 2010-03-16 11:48:48 +01:00
Piotr Caban e119aceb7c oleaut32: Fix some reference leaks. 2010-03-16 11:48:22 +01:00
Piotr Caban 3c747fec50 oleaut32: Added ICreateTypeInfo2_SetFuncHelpContext implementation. 2010-03-16 11:48:16 +01:00
Piotr Caban eb15921ff5 oleaut32: Improve dual interfaces creation in typelib. 2010-03-16 11:48:10 +01:00
Piotr Caban d9fd33e3a9 oleaut32: Improve TypeInfos with changed TypeKind handling. 2010-03-16 11:48:04 +01:00
Vincent Povirk da409d6a7b oleaut32: Return type mismatch errors in ITypeLibComp_fnBind. 2010-03-15 15:53:59 +01:00
Paul Vriens 13762e233d oleaut32/tests: Don't add typelib information to the registry. 2010-03-15 13:28:23 +01:00
Piotr Caban ccdafdb9c3 oleaut32: Update TypeInfo flags when object inherits IDispatch. 2010-02-25 16:00:40 +01:00
Piotr Caban 247b11e046 oleaut32: Added ITypeLib2_GetDocumentation implementation. 2010-02-25 16:00:33 +01:00
Piotr Caban 177d7aac3d oleaut32: Added ITypeLib2_GetLibAttr implementation. 2010-02-25 16:00:20 +01:00
Piotr Caban 77e1b7a13f oleaut32: Added implementation of ITypeInfo2_GetRefTypeOfImplType. 2010-02-24 15:16:00 +01:00
Piotr Caban 3183786367 oleaut32: Added implementation of ITypeInfo2_GetImplTypeFlags. 2010-02-24 15:15:57 +01:00
Piotr Caban 69579b0449 oleaut32/tests: Remove incorrect test.
This test is crashing on some systems.
2010-02-24 15:15:54 +01:00
Piotr Caban ea6b690f82 oleaut32: Improve TKIND_COCLASS handling while creating typelib. 2010-02-24 15:15:49 +01:00
Piotr Caban b6cf636c6e oleaut32: Added implementation of ITypeInfo2_fnGetTypeAttr. 2010-02-24 15:15:42 +01:00
Piotr Caban 456de20085 oleaut32/tests: Added more typelib creation tests. 2010-02-23 12:09:10 +01:00
Piotr Caban 3647c337a9 oleaut32: Improved ICreateTypeInfo2_AddRefTypeInfo implementation. 2010-02-23 12:08:44 +01:00
Piotr Caban 6ebe1ec4d3 oleaut32/tests: Added VT_PTR tests in function arguments. 2010-02-23 12:07:37 +01:00
Piotr Caban 3102176ceb oleaut32: Improved ICreateTypeInfo2_SetFuncAndParamNames implementation. 2010-02-23 12:07:32 +01:00
Piotr Caban e68c7cf709 oleaut32: Added VT_BSTR handling to ctl2_add_default_value. 2010-02-23 12:07:27 +01:00
Piotr Caban f42a73d01f oleaut32: Added more arguments with default values handling. 2010-02-23 12:07:22 +01:00
Piotr Caban 4f555e3cc2 oleaut32: Added partial ICreateTypeInfo2_AddFuncDesc arguments with default values handling. 2010-02-23 12:07:07 +01:00
Piotr Caban bf0815424b oleaut32: Added MEMBERID_NIL handling to ICreateTypeInfo_LayOut. 2010-02-22 12:02:22 +01:00
Piotr Caban 1dda40deb2 oleaut32: Improved ICreateTypeInfo2_fnAddFuncDesc implementation. 2010-02-22 12:02:08 +01:00
Piotr Caban 1f2590be9b oleaut32: Return TYPE_E_NAMECONFLICT in ICreateTypeLib2::CreateTypeInfo. 2010-02-17 16:31:09 +01:00
Piotr Caban 2c911147b9 oleaut32: Fix crash in LoadTypeLib if typelib name is not specified. 2010-02-17 16:31:01 +01:00
Huw Davies 7f175bd47c oleaut32: Fix several memory leaks in the tests.
Found by Valgrind.
2009-12-18 11:43:00 +01:00
Vincent Povirk 03683b2530 oleaut32: Use DISPATCH_HREF_MASK even for non-dual dispatch types. 2009-09-16 15:36:35 -05:00
Vincent Povirk 004ad9af10 oleaut32: Add test for HREFTYPE's from inherited methods. 2009-09-16 15:36:22 -05:00
Vincent Povirk 80c870251f oleaut32: Make ITypeInfo2::GetCustData succeed when data is not found. 2009-08-26 12:09:25 +02:00
Huw Davies d84693cc29 oleaut32: Calling SetLcid with LOCALE_NEUTRAL is a special case which sets the first header lcid to US English and the second one to 0. 2009-06-11 11:45:51 +02:00
Alexandre Julliard 6194cf888d oleaut32/tests: Fix a test broken on XP 64. 2009-05-25 11:49:08 +02:00
Alexandre Julliard cdf8aeb0c8 oleaut32/tests: Fix some pointer sizes in typelib tests for 64-bit. 2009-05-21 16:17:51 +02:00
Alexandre Julliard 538c706787 oleaut32/tests: Fix some pointer sizes in typelib tests for 64-bit. 2009-05-21 16:17:50 +02:00
Alexandre Julliard 8b7269e7e6 oleaut32/tests: Don't crash if ITypeInfo_GetTypeAttr fails. 2009-05-08 14:27:11 +02:00
Dmitry Timoshkov 69ec6b4c6d oleaut32: Add some additional tests for QueryPathOfRegTypeLib, make them pass under Wine. 2009-04-13 17:35:51 -05:00
Rob Shearman 522662faa9 oleaut32: Fix the typelib tests on 64-bit platforms. 2009-01-29 14:06:59 +01:00
Michael Stefaniuc e86eb8efa6 include: Change RPC_STATUS from long to LONG for Win64 compatibility.
Also fix the compiler warnings introduced by this change.
2009-01-04 13:34:38 +01:00
Paul Vriens 22c5fbdc2c oleaut32/tests: Don't crash on Win95. 2008-09-15 11:23:39 +02:00
Paul Vriens 1cfb958a2e oleaut32/tests: Skip some tests on win9x. 2008-08-28 11:24:49 +02:00
Detlef Riekenberg b4f2c50687 oleaut32/tests: Run more typelib tests on win9x. 2008-07-21 14:45:48 +02:00
Alexandre Julliard ec11a7b828 oleaut32/tests: Allow UuidCreate to return RPC_S_UUID_LOCAL_ONLY. 2008-06-24 11:51:07 +02:00
Alexandre Julliard c76de89885 oleaut32/tests: Store the test typelib in resources instead of depending on an external file. 2008-04-25 12:09:03 +02:00
Francois Gouget 745bd4f233 oleaut32/tests: Avoid SHDeleteKeyW() because shlwapi.dll is missing on Windows 95. 2007-12-18 12:32:56 +01:00
Francois Gouget 1766918dda oleaut32/tests: Fix compilation on systems that don't support nameless unions. 2007-10-15 14:05:05 +02:00
Mikolaj Zalewski bda66cc37a oleaut32: Function kind for dispatch interfaces should be FUNC_DISPATCH. 2007-10-10 21:33:38 +02:00
Huw Davies b698b2909b oleaut32: Fix CreateDispTypeInfo to store the correct number of functions. 2007-05-18 19:59:29 +02:00
Huw Davies 117f21de45 oleaut32: Test for interface that derives from IUnknown. 2007-05-18 19:57:53 +02:00
Huw Davies 04a76cf561 oleaut32: Tests for more 'syntax 2' dispinterfaces. 2007-05-18 19:57:46 +02:00
Huw Davies 78bf6946ba oleaut32: GetRefTypeOfImplType(0) on TKIND_DISPATCH typeinfos should always return an href to IDispatch. 2007-05-18 19:57:34 +02:00
Huw Davies 356970e529 oleaut32: Fix return value in the element not found case. 2007-05-18 19:57:25 +02:00
Huw Davies a3b8be05b7 oleaut32: Typelib inheritance tests. 2007-05-18 19:57:18 +02:00
Huw Davies 9afcaf2ae1 oleaut32: Type references are global to the typelib. 2007-05-17 12:44:44 +02:00
Paul Vriens 1d6132bed6 oleaut32/tests: Cast-qual warning fixes. 2007-01-24 11:59:15 +01:00
Dmitry Timoshkov 50a18ca57e shlwapi: Unify SHDeleteKeyW implementation with SHDeleteKeyA. 2006-11-10 13:50:00 +01:00
Francois Gouget ff64e09605 oleau32: The PSDK's ELEMDESC's union is nameless, always. So use the U(x) macro. 2006-11-07 15:24:43 +01:00
Rob Shearman 2b65782d1e oleaut32: Fix a reference count leak in the typelib test. 2006-10-24 17:46:39 +02:00
Dmitry Timoshkov 20c40e0659 oleaut32: Make QueryPathOfRegTypeLib test pass under Wine. 2006-10-23 15:16:55 +02:00
Dmitry Timoshkov a1914dbbb8 oleaut32: Add a test for QueryPathOfRegTypeLib. 2006-10-23 15:16:28 +02:00
Hans Leidekker 279207b258 oleaut32/tests: Win64 printf format warning fixes. 2006-10-12 20:41:09 +02:00
Robert Shearman 33582cc69e oleaut32: Add some validation for the DISPPARAMS structure in ITypeInfo::Invoke. 2006-07-31 21:25:44 +02:00
Robert Shearman ad6b0dc281 oleaut32: Revert check for FUNCFLAG_FRESTRICTED in ITypeInfo::Invoke.
The change caused regressions in a number of applications and needs more 
study to see what the correct behaviour should be.
2006-07-18 11:12:35 +02:00
Robert Shearman 31f640274f oleaut32: Don't execute a function in ITypeInfo::Invoke if it has the FUNCFLAG_FRESTRICTED flag.
Add some more tests for ITypeInfo::Invoke.
2006-07-14 12:39:02 +02:00
Robert Shearman ef7b6e2740 oleaut32: ITypeComp_fnBind should do case-insensitive compares on the name passed in. 2006-07-07 13:31:43 +02:00
Robert Shearman dd677948b4 oleaut32: Fix the error code returned by ITypeComp on an interface when the name matches, but the flags don't. 2006-07-07 13:30:46 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman 4b19449b6b oleaut: ITypeInfo::GetIDsOfNames should search inherited interfaces
regardless of what type they are.

Add a test for this and dump type infos created with CreateDispTypeInfo.
2006-03-21 20:02:11 +01:00
Robert Shearman 6ad326a607 oleaut: Test some error conditions in ITypeInfo::GetIDsOfNames and ITypeInfo::Invoke. 2006-02-16 19:33:08 +01:00
Huw Davies 7000aca824 oleaut32: Fixes and tests for CreateDispTypeInfo.
CreateDispTypeInfo returns the typeinfo of a coclass which implements
the described interface.
2006-02-06 20:57:09 +01:00
Dmitry Timoshkov 57a579ffcd Make more arrays const. 2006-01-24 14:00:32 +01:00
Robert Shearman 36f112973e OLE: Add tests for the typelib version of ITypeComp_Bind. 2005-12-06 21:23:19 +01:00
Mike McCormack 65ad7da1f7 Fix some declaration and write string warnings. 2005-06-16 10:45:25 +00:00
Jacek Caban f863bb59f9 Test only stdole32.tlb as we don't have olepro32.dll in Wine. 2005-06-05 18:04:54 +00:00
Jacek Caban bf9f8da333 Ref counting fixes. 2004-08-19 20:29:16 +00:00