Commit Graph

389 Commits

Author SHA1 Message Date
Nikolay Sivov 6408679e44 oleaut32: Fix GetLibAttr for null argument, plus error handling. 2010-12-22 13:00:11 +01:00
Nikolay Sivov c395ae563e oleaut32: Basic parameter validation tests for some GetTypeInfo* methods. 2010-12-22 13:00:10 +01:00
Andrew Eikum c0f120db5d oleaut32: Search inherited interfaces again in ITypeComp::Bind. 2010-11-10 12:13:39 +01:00
Michael Stefaniuc ec382f4345 oleaut32: The function pointer should be const and not the return value. 2010-09-07 17:59:14 +02:00
Alexandre Julliard a0a4667fde oleaut32: Add tests for DispCallFunc and fix a number of corner cases. 2010-08-26 12:35:31 +02:00
Alexandre Julliard 21abfc5355 oleaut32: Implement DispCallFunc for x86_64. 2010-08-25 16:18:50 +02:00
Alexandre Julliard 3c380daa59 oleaut32: Simplify the i386 implementation of DispCallFunc. 2010-08-25 16:17:10 +02:00
Jacek Caban 7d7586d358 oleaut32: Try both SYS_WIN64 and SYS_WIN32 syskind in QueryPathOfRegTypeLib on win64. 2010-08-20 13:21:01 +02:00
Andrew Nguyen f2610a6109 oleaut32: Partially implement UnRegisterTypeLibForUser. 2010-07-30 14:59:42 +02:00
Andrew Nguyen f4fa417be9 oleaut32: Partially implement RegisterTypeLibForUser. 2010-07-30 14:59:41 +02:00
Huw Davies baef9a7e92 oleaut32: Don't invoke a function that has the restricted attribute or is part of an interface that's marked as restricted. 2010-07-29 17:33:36 +02:00
Alexandre Goujon 14db6a802c oleaut32/typelib: Fix ITypeInfo_Invoke with restricted keyword. 2010-07-20 12:35:51 +02:00
Andrew Eikum 3173305e88 oleaut32: Don't fail if member is missing in ITypeComp::Bind. 2010-07-19 14:38:17 +02:00
Michael Stefaniuc 0f82f68734 oleaut32: Avoid using long. 2010-05-10 13:46:08 +02:00
Alexandre Julliard 3681a28024 oleaut32: Query the path of the correct kind of typelib when unregistering it. 2010-04-09 11:14:16 +02:00
Alexandre Julliard e851556f6b oleaut32: Fix some pointer conversion warnings on 64-bit. 2010-04-07 14:25:02 +02:00
Vincent Povirk d9c01dcc40 oleaut32: Limit the number of arguments traced. 2010-04-07 13:50:28 +02:00
Huw Davies fbaaedd967 oleaut32: Only unregister those types that were registered. 2010-04-01 18:12:59 +02:00
Huw Davies adeba6ee80 oleaut32: Only oleautomation interfaces as well as all dispinterfaces should be registered. 2010-04-01 18:12:58 +02:00
Vincent Povirk 8ff7238ade oleaut32: Allow named args to be combined with positional args in fnInvoke. 2010-03-22 10:42:23 +01:00
Piotr Caban d2319ae841 oleaut32: Fix ITypeInfo GetImplTypeFlags for dispinterfaces. 2010-03-18 11:14:27 +01:00
Vincent Povirk 5893f3227c oleaut32: Always use DISPID_PROPERTYPUT to fill in the last argument. 2010-03-17 10:07:57 +01:00
Piotr Caban 914472ab81 oleaut32: Set parameter to NULL in GetMops stub. 2010-03-16 11:48:55 +01:00
Vincent Povirk da409d6a7b oleaut32: Return type mismatch errors in ITypeLibComp_fnBind. 2010-03-15 15:53:59 +01:00
Piotr Caban 2c911147b9 oleaut32: Fix crash in LoadTypeLib if typelib name is not specified. 2010-02-17 16:31:01 +01:00
Michael Stefaniuc ef7cafc11c oleaut32: Avoid using HIWORD on string pointers. 2010-02-10 14:33:27 +01:00
Rob Shearman 4f73fe3a09 oleaut32: Free the correct pointer on error in TLB_AllocAndInitVarDesc. 2009-11-29 16:42:20 +01:00
Rob Shearman 2a42f42951 oleaut32: Fix memory leak of name in ITypeLib2_Constructor_MSFT. 2009-11-19 14:24:11 +01:00
Rob Shearman 8a5886efad oleaut32: Fix circular reference counting in typelibs/typeinfos.
Do not rely on the reference count of ITypeInfo's to go to zero to
delete them. Instead only rely on the parent typelib's reference
count, but update the parent typelib's reference count based on
whether each typeinfo has a valid reference.
2009-11-19 14:24:05 +01:00
Rob Shearman 99d9983b61 oleaut32: Fix memory leaks in ITypeInfo_fnInvoke. 2009-11-18 11:15:39 +01:00
Sunil Mohan Adapa 59ae1705ac oleaut32: Do no check for dispatchable flag on dual interfaces. 2009-11-10 15:18:06 +01:00
Sunil Mohan Adapa 926b884cd6 oleaut32: Fix SLTG parser so that dual interfaces are returned as IDispatch first. 2009-11-10 15:18:05 +01:00
Sunil Mohan Adapa 05b2426031 oleaut32: Fix SLTG parser so that dispatch interface can inherit another interface. 2009-11-10 15:18:05 +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
Alexandre Julliard ceac768adf oleaut32: Use an assembly wrapper to implement DispCallFunc, and make it i386-only. 2009-10-06 16:12:35 +02: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 9abdf54cb7 oleaut32: Implement ITypeLibComp::BindType. 2009-09-10 10:50:22 +02:00
Vincent Povirk 34f1d8a200 oleaut32: Handle LCID arguments in ITypeInfo::Invoke. 2009-09-02 15:48:14 +02:00
Austin English e7bbc32bd1 oleaut32: Avoid a NULL pointer dereference. 2009-09-01 12:52:05 +02:00
Vincent Povirk 80c870251f oleaut32: Make ITypeInfo2::GetCustData succeed when data is not found. 2009-08-26 12:09:25 +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
Sunil Mohan f7f50d1252 oleaut32: Fix SLTG_ReadString to null terminate. 2009-08-18 11:25:44 +02:00
Alexandre Julliard 8fce9369b8 oleaut32: Replace long and unsigned long by more appropriate types. 2009-07-03 13:48:54 +02:00
Huw Davies 9da0b352f6 oleaut32: TLibAttr.lcid is read from the second lcid field in the header. Confirmed by manually editing a tlb file. 2009-06-09 17:01:15 +02:00
Alexandre Julliard 9955350ea1 oleaut32: Add support for registering 64-bit typelibs. 2009-05-21 16:17:19 +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
Alexandre Julliard 0ed1041c63 oleaut32: Don't use 16-bit headers. 2009-04-01 18:20:21 +02:00
Michael Stefaniuc a3f8fd71e1 oleaut32: Remove superfluous pointer casts. 2009-02-09 14:37:23 +01:00
Marcus Meissner 4d8fffb24b oleaut32: Removed useless NULL ptr check (Coverity). 2009-02-02 15:21:43 +01:00
Rob Shearman 522662faa9 oleaut32: Fix the typelib tests on 64-bit platforms. 2009-01-29 14:06:59 +01:00