Commit Graph

38 Commits

Author SHA1 Message Date
Francois Gouget a1d23f5da6 Removed the 'fn' prefix (i.e. ICOM_FN). 2001-01-04 22:59:48 +00:00
François Gouget cce38d7ad3 Added an ICOM_FN that generates either fn##xfn or sfn as appropriate.
Use ICOM_FN to avoid duplicating the 'ICOM_V?METHOD.*' definitions.
Remove the obsolete ICOM_CVMETHOD macros.
Use the ICOM_VTBL macro to avoid duplicating the 'ICOM_CALL.*'
definitions.
2000-12-29 05:24:50 +00:00
Andreas Mohr 2c5efe31c0 SHGetMalloc must use MEMCTX_TASK, otherwise CoGetMalloc will
badly fail with E_INVALIDARG in case native OLE32 is used.
2000-12-13 21:29:35 +00:00
Francois Gouget e550ebe429 Fixed the case of "Winelib". 2000-12-02 20:17:13 +00:00
Dimitrie O. Paun c7b49e5d2c Fixed typo in macro ICOM_METHOD11 parameter list. 2000-11-25 01:28:39 +00:00
James Hatheway b134ed7c38 Increase number of parameters possible for ICOM_* macros to 11. 2000-11-15 23:05:13 +00:00
Francois Gouget 0062892c66 Added/fixed missing extern "C". 2000-10-19 20:32:18 +00:00
Francois Gouget 5b317bc556 Enable anonymous struct/union support by default in both C and C++.
Disable them for compilers known not to support them.
Disable them for the WINE code.
2000-10-12 20:44:41 +00:00
Alexandre Julliard 83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Alexandre Julliard 5ab9d860f2 Removed some unnecessary #includes and dll dependencies. 2000-08-09 22:35:05 +00:00
Ove Kaaven e6b51bf25f Protect the prototypes in here from C++ name mangling... 2000-08-07 02:35:05 +00:00
Alexandre Julliard b08cb175de Added guiddef.h and moved a few GUID definitions to the correct file. 2000-08-03 04:19:24 +00:00
Alexandre Julliard 917910324f Cleaned up a few inter-dll dependencies. 2000-06-23 16:13:33 +00:00
Marcus Meissner df8a69b36b Corrected IsEqualGUID prototype. 2000-06-12 21:54:26 +00:00
Francois Gouget ae41e8c804 Reordered the CALLBACK and WINAPI directives so that it compiles with
old g++ versions.
2000-06-11 20:07:58 +00:00
Francois Gouget c9e9e4339d - The ICOM_CMETHODxxx cause problems because the 'const' changes the
signature. There's no such thing on Windows anyway (it's a shame) so
  just remove them altogether.
- HeapMinimize returns a void, not a 'void*'
2000-03-24 19:43:49 +00:00
Marcus Meissner 09ee5d0a56 CoLoadLibrary gets UNICODE, not ASCII strings. (spotted by Lawson
Whitney), removed the dllName component of the openDlls.  Added some
debugstr_guid().
2000-03-04 19:24:25 +00:00
Pierre Mageau 89aa86165f Implementation of OleConvert routines.
Thuy Nguyen <thuy@macadamian.com>
Don't allow to resize stream open in read only mode
Allow write access for stream/storage open with STGM_READWRITE.
StgOpenStorage return values are now more detailed.
Don't rely on STGM_CREATE flag in the Storage constructor.
Preventing to write out of date property.

Owen Wang <owenw@corel.ca>
Allow both positive & negative 32-bit integers as with MFC assumption.
This patch improves the 32bit limit on IStream::*_Seek operations.

John Li <johnl@corel.ca>
When WP opens a linked file, the malloc function in
OLECONVERT_LoadOLE10(...) returns a NULL. This causes a later Wine
crash. The actual problem is the function reading a large data length.
2000-02-25 20:58:25 +00:00
Francois Gouget f82a723a43 The COM virtual tables must use the
'ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE' macro to provide padding in C++.
2000-01-30 02:55:16 +00:00
Peter Hunnisett 26b565998d - Added missing __attribute__ ((com_interface)) for IUnknown with.
ICOM_USE_COM_INTERFACE_ATTRIBUTE
- Small addition to comments surrounding
  ICOM_USE_COM_INTERFACE_ATTRIBUTE "option".
1999-11-07 19:25:25 +00:00
Francois Gouget 819e7946e9 Added two macros, ICOM_VFIELD and ICOM_VTBL, so that when implementing
a COM interface one never has to name the lpVtbl field explicitly.
1999-10-25 15:43:36 +00:00
Francois Gouget be9fd31b92 Define the COM macros even in C++. 1999-10-23 20:09:05 +00:00
Patrik Stridvall 0e38aa7fda Various ANSI C compability fixes. 1999-07-31 17:34:43 +00:00
Paul Quinn 270c23d8b4 Add a few stubs, some C++ compatibility, and fix a few types. 1999-07-24 10:24:09 +00:00
Patrik Stridvall 1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Paul Quinn 2305f3c06d Microsoft com vtable compatibility workaround for g++. Basically adds
an optional 8 bytes padding to COM objects where the RTTI would be.
1999-05-22 11:41:38 +00:00
Patrik Stridvall a9a671d7ca Fixed ANSI compabillity. 1999-04-25 19:01:52 +00:00
Francois Gouget 7204f9c53f Added a new implementation of the ICOM macros that use Microsoft style
virtual methods to implement the COM interfaces in C++.
1999-04-06 07:06:05 +00:00
Juergen Schmied 8e7cb4db7a Use the new header for COM definitions. 1999-03-25 10:57:12 +00:00
Noomen Hamza ed494ec539 Implemented:
- IMoniker interface for FileMoniker,ItemMoniker,AntiMoniker and
  GenericCompositeMoniker
- IRunningObjectTable interface, and
- IBindCtx interface.
1999-03-23 13:48:56 +00:00
Francois Gouget d467835b3c Removed the obsolete ICOM macros. 1999-03-17 15:16:35 +00:00
Paul Quinn ea1640fc0c Added a lot of new OLE interfaces. 1999-03-10 18:03:53 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Francois Gouget 2b7097606f Removed references to ICOM_INHERITS. 1999-02-18 16:02:41 +00:00
Francois Gouget b385815d59 Added new API. Part of it was in 'include/objbase.h' before and part
of it is new. Now it also contains 'WINE_StringFromCLSID'. It's not
perfect but it's better than having it in 'include/objbase.h'.
1999-02-17 17:32:55 +00:00
Francois Gouget 452db3f18a Changed ICOM_THIS definition. 1999-02-17 15:57:24 +00:00
Francois Gouget 93217c6056 Better set of macros for defining the COM interfaces. 1999-02-10 06:42:03 +00:00
Alexandre Julliard 638f169b1e Recovery of release 990110 after disk crash.
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00