Rob Shearman
d1db29e801
ole32: Fix buffer overrun in CLIPFORMAT_UserMarshal.
...
The string in format is nul-terminated so use memcpy to copy it into
the buffer and don't try to nul-terminate it manually which causes a
write outside of the allocated buffer length.
Fix a similar off-by-one error in CLIPFORMAT_UserUnmarshal too. This
time it is only reading from beyond the buffer.
2009-11-20 16:38:39 +01:00
Alexandre Julliard
fb640601ea
ole32: Fix some pointer conversion warnings on 64-bit.
2009-05-28 15:24:25 +02:00
Huw Davies
485811cf9c
ole32: Explicitly add the three ULONGs from the METAFILEPICT struct to allow for padding in the 64-bit version.
2009-05-22 15:16:29 +02:00
Huw Davies
ed09de1e6f
ole32: Fix remote HMETAFILEPICT marshalling on 64 bit systems.
2009-05-21 16:17:52 +02:00
Huw Davies
c36826705c
ole32: Implement TYMED_ISTORAGE marshalling.
2009-05-18 13:27:53 +02:00
Huw Davies
3b15bbfd37
ole32: Implement TYMED_ISTREAM marshalling.
2009-05-18 13:27:49 +02:00
Huw Davies
cc68fc4467
ole32: Add support for marshalling pUnkForRelease.
2009-05-18 13:27:37 +02:00
Huw Davies
5b6312f24c
ole32: Implement the WdtpInterfacePointer marshal functions.
2009-05-18 13:27:30 +02:00
Huw Davies
e4d43c1099
ole32: Add proxies and stubs for FillAppend and FillAt.
2009-05-18 13:24:42 +02:00
Huw Davies
069d57502d
ole32: Add proxies and stubs for ReadAt and WriteAt.
2009-05-18 13:24:37 +02:00
Huw Davies
5abb393eb7
ole32: Add proxies and stubs for OpenStream and EnumElements.
2009-05-18 13:24:31 +02:00
Huw Davies
aa13c7c522
ole32: Add proxies and stubs for Seek and CopyTo.
2009-05-18 13:24:19 +02:00
Huw Davies
e8be59b8f8
ole32: Add proxies and stubs for Read and Write.
2009-05-18 13:24:13 +02:00
Huw Davies
374aacdc9f
ole32: Add proxies and stubs for GetData and GetDataHere.
2009-05-18 13:24:00 +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
Rob Shearman
2eca96af67
ole32: Fix CLIPFORMAT marshalling on 64-bit platforms by not using the wireCLIPFORMAT type.
...
The wireCLIPFORMAT represents the memory equivalent format of the wire
format and not the wire format itself.
Also update the tests to do the same.
2009-02-09 13:58:04 +01:00
Michael Karcher
11aef5e0a2
ole32: Add HICON user marshalling stubs.
2009-01-04 13:33:12 +01:00
Huw Davies
ed6bcc27fa
ole32: Forward the ASYNC_STGMEDIUM user marshallers to the STGMEDIUM quadruple.
2008-11-28 12:53:19 +01:00
Francois Gouget
c584c2d12c
ole32: Remove __RPC_USER on static functions where not needed.
2008-11-26 12:10:38 +01:00
Huw Davies
a26d67b14e
ole32: Implement IEnum*_Next marshallers.
2008-10-28 12:14:14 +01:00
Austin English
8301325989
ole32: Implement IEnumFORMATETC_Next_Proxy and IEnumFORMATETC_Next_Stub.
2008-10-27 12:38:24 +01:00
Dan Hipschman
19cccae29d
ole32: Add a widl-generated proxy file for oleidl.idl.
2008-09-02 16:03:02 +02:00
Dan Hipschman
44800b6ad4
ole32: Add a widl-generated proxy file for objidl.idl.
2008-09-02 16:02:29 +02:00
Dan Hipschman
4afc326638
ole32: Add widl-generated proxies for unknwn.idl and dcom.idl.
2008-09-02 16:00:33 +02:00
Rob Shearman
c111c2d685
ole32: Add tests for WdtpInterfacePointer_* functions.
...
Add stubs for these so that the tests link.
2007-11-27 11:40:19 +01:00
Rob Shearman
da04018608
ole32: Fix the condition in HMETAFILEPICT_UserFree to match that in METAFILEPICT_UserMarshal.
...
Actually free the memory.
2007-11-13 13:29:53 +01:00
Andrew Talbot
65bf44868c
ole32: Void functions should not return a value.
2007-04-13 12:58:50 +02:00
Rob Shearman
1b8537bebd
ole32: Handle NULL sub-objects correctly in the STGMEDIUM user marshaling functions so that no further data in marshaled or unmarshaled.
2007-03-27 13:00:10 +02:00
Rob Shearman
251bab8ac9
ole32: Implement TYMED_FILE for STGMEDIUM marshaling and unmarshaling.
2007-03-20 12:56:34 +01:00
Rob Shearman
fda6498284
ole32: Implement HMETAFILE and HMETAFILEPICT user marshaling functions and add tests for these.
2006-12-18 11:52:58 +01:00
Rob Shearman
4babec1928
ole32: Add documentation for the user marshaling functions.
2006-12-18 11:45:46 +01:00
Francois Gouget
dd6e948d84
ole32: Convert dump_user_flags() into debugstr_user_flags(), a proper debug trace function.
2006-12-06 12:15:11 +01:00
Michael Stefaniuc
22befac97e
ole32: Fix the warnings introduced by the "unsigned long" to "ULONG" header changes.
2006-11-09 10:43:38 +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
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Francois Gouget
17689c07bb
Fix some winapi_check documentation warnings.
2006-05-15 15:05:15 +02:00
Robert Shearman
c77711a6c9
ole32: Add documentation for the clip format user marshal functions.
2006-04-03 21:36:12 +02:00
Francois Gouget
5127dc9f49
Assorted spelling fixes.
2005-12-02 16:15:09 +01:00
Robert Shearman
567919d78f
Implement some user marshal functions and add tests.
2005-11-29 11:35:27 +01:00