Commit Graph

73 Commits (516731c8618d0b30e4fb0298bd6b3b89fc7c2051)

Author SHA1 Message Date
Frédéric Delanoy a7cb73d39e oleaut32: Avoid harcoding array lengths. 2011-11-21 11:05:04 +01:00
Francois Gouget c21bfe4479 oleaut32: Fix the spelling of an internal structure field name. 2011-08-03 14:15:48 +02:00
Alexandre Julliard 38a797990c oleaut32: Reallocate in BSTR_UserUnmarshal to avoid changing the pointer if the string didn't change. 2011-05-18 11:35:17 +02:00
Alistair Leslie-Hughes f6b16ea774 oleaut32: Implement ITypeInfo_GetNames Stub/Proxy. 2011-02-22 12:49:40 +01:00
Huw Davies 9e0e3a73d2 oleaut32: Implement proxy / stub for ITypeLib2_GetDocumentation2. 2011-02-11 14:52:49 +01:00
Huw Davies afeaaf3787 oleaut32: Implement proxy / stub for ITypeLib_GetDocumentation. 2011-02-11 14:52:45 +01:00
Huw Davies 1260bc8892 oleaut32: Implement proxy / stub for ITypeInfo2_GetDocumentation2. 2011-02-11 14:52:41 +01:00
Huw Davies 7cdc8bb418 oleaut32: Implement proxy / stub for ITypeInfo_GetDllEntry. 2011-02-11 14:52:36 +01:00
Huw Davies ef05072e27 oleaut32: Rewrite ITypeInfo_GetDocumentation proxy/stub to return only the information that is requested. 2011-02-10 10:28:01 -06:00
Nikolay Sivov 95416ff904 oleaut32: Unmarshalled safearray is always unlocked. 2011-01-24 12:35:02 +01:00
Nikolay Sivov b08d3d2656 oleaut32: Fix multidimensional SAFEARRAY marshalling. 2010-10-19 10:58:19 +02:00
Huw Davies 522a00e69a oleaut32: Correctly marshal NULL interface ptrs. 2010-02-25 15:59:47 +01:00
Jeremy White 04a2102428 oleaut32: Use wire sizes for marshaled safe arrays of bstrs and variants; fixes a test failure on win64. 2009-12-11 17:47:30 +01:00
Rob Shearman 489b73dd9e oleaut32: Fix size of memory allocated for byrefs in VARIANT_UserMarshal. 2009-11-29 16:37:10 +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
Alexandre Julliard 74c985aad1 oleaut32: Fix safe array marshalling on 64-bit. 2009-07-10 19:13:27 +02:00
Rob Shearman 47ae95ccce oleaut32: Fix the SAFEARRAY marshalling on 64-bit platforms.
The pointers should be written as NDR 4-byte fields instead of a
platform-dependent size.
2009-04-07 14:53:43 +02:00
Marcus Meissner a9c0c247ed oleaut32: IPropertyBag_Read_Proxy return on unknown type (Coverity 892). 2009-04-06 15:35:57 +02:00
Michael Stefaniuc a3f8fd71e1 oleaut32: Remove superfluous pointer casts. 2009-02-09 14:37:23 +01:00
Michael Karcher a16b79cf72 oleaut32: Implement IPropertyBag::Read proxying. 2009-01-04 13:33:46 +01:00
Alexandre Julliard 8d8ff37ca3 oleaut32: Use a dlldata.c file instead of maintaining the data manually. 2008-12-02 10:32:14 +01:00
Alexandre Julliard cb7a0da5db widl: Fix the handling of proxy delegation.
Generate a BaseIIDList for delegated interface, and point directly to
the methods that have been defined in the same file instead of
delegating them.
2008-11-28 12:55:59 +01:00
Michael Stefaniuc f830a12ddb oleaut32: Remove redundant NULL check before SysFreeString (Smatch). 2008-09-25 11:18:59 +02:00
Dan Hipschman 9e6784c2a7 oleaut32: Add a widl-generated proxy file for ocidl.idl. 2008-09-02 18:02:04 +02:00
Rob Shearman 67a213fc1e oleaut32: Try to re-use existing memory when unmarshalling variants with byref types. 2007-12-07 16:34:28 +01:00
Rob Shearman baccba317e oleaut32: Don't call SafeArrayAllocData in LPSAFEARRAY_UserUnmarshal if we called SafeArrayCreateEx instead of SafeArrayAllocDescriptor.
Otherwise, we'll leak memory.
2007-12-07 16:34:23 +01:00
Rob Shearman 6539b3801d oleaut32: Handle non-byref safe arrays in VARIANT_UserFree. 2007-11-12 12:54:04 +01:00
Dan Hipschman 9d7b34c192 oleaut32: Use widl to generate oaidl_p.c. 2007-10-25 13:33:37 +02:00
Dan Hipschman 816f993288 oleaut32: Add stubs for IPropertyBag_Read. 2007-10-24 13:52:16 +02:00
Andrew Talbot 61fde63fce oleaut32: Constify some variables. 2007-08-03 12:38:26 +02:00
Andrew Talbot 582ae3f3c9 oleaut32: Constify some variables. 2007-08-02 12:18:41 +02:00
Huw Davies da98b1cb61 oleaut32: Handle marshaling of VARTYPE-less FADF_VARIANT safearrays. 2007-06-25 11:34:39 +02:00
Huw Davies 3c8534f013 oleaut32: Implement marshaling of VT_BYREF interfaces. 2007-06-25 11:34:33 +02:00
Rob Shearman bb08a58965 oleaut32: Clear the input pvar structure in VARIANT_UserUnmarshal to free the data instead of just initializing. 2007-03-20 12:57:42 +01:00
Huw Davies 2dd3aa6293 oleaut32: Fix marshaling of VARTYPE-less safearrays. 2007-02-05 12:26:14 +01:00
Dmitry Timoshkov 601bf6ea12 oleaut32: Make some data const and static. 2006-11-28 12:36:20 +01:00
Michael Stefaniuc 9d625ad0e4 oleaut32: Fix the warnings introduced by the "unsigned long" to "ULONG" header changes. 2006-11-09 10:43:41 +01:00
Michael Stefaniuc cc234847d0 widl: Use ULONG instead of unsigned long when generating declarations for *_UserFree() functions. This is needed for Win64 compatibility. 2006-11-09 10:43:23 +01:00
Michael Stefaniuc 6f95047034 widl: Use ULONG instead of unsigned long when generating declarations for *_UserUnMarshal() functions. This is needed for Win64 compatibility. 2006-11-09 10:43:20 +01:00
Michael Stefaniuc 05b1aac100 widl: Use ULONG instead of unsigned long when generating declarations for *_UserMarshal() functions. This is needed for Win64 compatibility. 2006-11-09 10:43:16 +01:00
Michael Stefaniuc 177aaf6738 widl: Use ULONG instead of unsigned long when generating declarations for *_UserSize() functions. This is needed for Win64 compatibility. 2006-11-09 10:43:12 +01:00
Hans Leidekker ce66f5d684 oleaut32: Win64 printf format warning fixes. 2006-10-13 12:08:47 +02:00
James Hawkins 99e2c6dff2 janitorial: Remove redundant NULL checks before CoTaskMemFree (found by Smatch). 2006-10-07 17:52:51 +02:00
Alexandre Julliard 707060913c oleaut32: Use the standard DEFINE_OLEGUID macro to define GUIDs. 2006-06-09 21:09:35 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Huw Davies 40986cd729 oleaut32: Correctly handle the case when the number of bytes in a BSTR is odd. 2006-05-10 19:24:01 +02:00
Huw Davies df40c966a0 oleaut32: Preserve the 'auto' features before copying over the masked unmarshaled ones. 2006-05-08 21:18:32 +02:00
Huw Davies c7bb8bd4fe oleaut32: Implement GetVarDesc_Proxy and friends. 2006-05-08 14:50:42 +02:00
Huw Davies 9235ae2ecd oleaut32: Change CLEANLOCALSTORAGE flag constants to their character
constant equivalents.  It's now obvious why these were chosen.  Should
be a NOP.
2006-05-08 14:50:34 +02:00
Huw Davies 3abd27c624 oleaut32: Fix VARIANT_UserFree. 2006-05-07 10:11:06 +02:00