Commit graph

66 commits

Author SHA1 Message Date
Francois Gouget
be3fea546d oleaut32: Add V_RECORD() and V_RECORDINFO() and use them for wine_dbgstr_variant().
This fixes the wine_dbgstr_variant() compatibility with non __STDC__
compilers and source code that defines _FORCENAMELESSUNION.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-27 21:44:49 +09: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
Juan Lang
d693dfda8c oleaut32: Constify input parameter to VarR8FromDec.
With thanks to Dmitry for spotting this.
2009-02-19 12:51:22 +01:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman
806cdce355 OLE: Update the type of the oVft parameter for DispCallFunc. 2005-12-06 21:23:09 +01:00
Vincent Béron
05b2c1cc81 Remove multiple declarations of the same function, keeping the public
one as reference.
2005-07-24 16:17:28 +00:00
Francois Gouget
87b0906789 Assorted spelling fixes. 2005-01-10 13:29:24 +00:00
Martin Fuchs
4932f56062 Correct return type of SysStringLen() and SysStringByteLen(). 2004-03-01 21:22:59 +00:00
Francois Gouget
84540b4dc7 Assorted spelling fixes. 2003-11-18 20:41:24 +00:00
Jon Griffiths
2f558b53f1 Add some missing prototypes/defines.
OaBuildVersion() returns a ULONG, not UINT.
2003-11-14 21:01:15 +00:00
Alexandre Julliard
e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
e4ce323d30 Removed no longer needed include protections. 2003-09-04 00:05:15 +00:00
Dimitrie O. Paun
53f9c21fb7 Use angle brackets (<>) rather than quotes ("") for the include
directives in our .h files. This should avoid some potentially nasty
surprises for Winelib apps.
2003-08-28 21:43:34 +00:00
Jon Griffiths
58422dc83c Add a bunch of missing stuff.
Use proper types for SafeArray/variant prototypes.
Change I1 functions to take signed chars
2003-07-18 22:52:58 +00:00
Ove Kaaven
008f4ce91a Moved a couple of definitions from include/wine/obj_oleaut.h to
include/oleauto.h.
2003-01-05 01:05:45 +00:00
Marcus Meissner
8ff278d25e Implemented SafeArray{SetIID,GetIID,SetRecordInfo,GetRecordInfo}.
Added support for FADF_HAVEIID, FADF_RECORD, FADF_HAVEVARTYPE.
Implemented SafeArrayAllocDescriptorEx and SafeArrayGetVarType
correctly.
Fixed second argument of SafeArrayCopyData (it is just SAFEARRAY*).
Changed allocation to include 16 bytes before the SAFEARRAY (to store
IID/VARTYPE/IRecordInfo*).
VARTYPE -> size array was not indexed correctly.
Added lots of testcases for most functionality.
Added IRecordInfo interface definition.
2003-01-02 23:13:56 +00:00
Dimitrie O. Paun
e42b3ee4bb Added missing GetActiveObject declaration. 2002-12-23 01:33:33 +00:00
Ove Kaaven
1f5315c80f Make sure that no files except unknwn.h include wine/obj_base.h
directly.
2002-12-05 20:33:07 +00:00
Gregg Mattinson
421660e894 Fixed V_DECIMAL macro to reflect where the decVal member is actually
stored.
2002-07-08 19:39:45 +00:00
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard
0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Patrik Stridvall
395e8bafc4 MSVC compile fixes. 2002-02-05 18:09:29 +00:00
Francois Gouget
9947b68c3e Add the decVal field to VARIANT.
Fix the VARIANT C layout, i.e. the union/struct names/nesting.
Encapsulate all accesses to VARIANT types with the V_VT and V_UNION
macros.
2001-08-21 17:03:10 +00:00
Nikolas Zimmermann
42c803630b Removed struct UDATE forward declaration. 2001-08-20 18:03:28 +00:00
Marcus Meissner
4736cc8cd5 Implemented VarParseNumFromStr, VarNumFromParseNum. 2001-08-15 18:47:28 +00:00
Daniel Walker
3e3e230d3b - implemented SystemTimetoVariantTime/VariantTimetoSystemTime
There was another implementation of SystemTimetoVariantTime
    submitted that didn't work for dates prior to 1900.
- implemented VarDateFromUDate/VarUdateFromDate
- implemented VariantTimeToDosDateTime
2001-08-13 20:07:01 +00:00
Francois Gouget
9fcefdd89d Fix the VarXxxFromCy conversions.
Remove (commented-out) references to inexistent VarXxxFrom32 functions.
Remove obsolete '32' suffixes.
2001-05-31 21:32:08 +00:00
Francois Gouget
d46cc43f0a Added support for the DECIMAL type.
Names are no longer suffixed with 32! Removed it.
2001-05-07 18:15:38 +00:00
Jon Griffiths
935677ab04 Implement LHashValOfNameSysA for 4 LCIDs, fix prototype. 2001-02-12 19:33:42 +00:00
Josh DuBois
a57eb65548 Changed VarCyFromI1 to take a signed char. 2001-01-22 19:23:54 +00:00
Andreas Mohr
adb46390cb Removed duplicate defines. 2000-12-09 03:07:40 +00:00
Marcus Meissner
e3527ccb1d Added prototypes for Ole{G,S}etAutoConvert, LHashValOfNameSys{,A}. 2000-11-25 01:20:17 +00:00
Francois Gouget
0062892c66 Added/fixed missing extern "C". 2000-10-19 20:32:18 +00:00
Francois Gouget
529779cf4c Fixed the signature of SysAllocStringByteLen. 2000-10-13 17:08:12 +00:00
Francois Gouget
5853bd3c70 Added some of the APIs introduced in Win98, mostly the VarXxx maths APIs. 2000-10-12 20:41:56 +00:00
Francois Gouget
9e23b509a1 Added some missing 'SysAllocString' prototypes.
Added some missing 'TypeLib' prototypes.
2000-10-03 04:09:32 +00:00
Francois Gouget
afddcfdbd8 Added various type and macro definitions that are needed to compile
the latest MFC.
2000-09-27 22:31:28 +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
74af67ef42 Removed shell.h. Cleaned up the nested includes mess in wine/obj_*.h. 2000-09-26 00:00:55 +00:00
Peter Hunnisett
565b00857e - Added some missing WINELIB_NAME_AW definitions, types and messages
- Small prototype fixes
2000-09-19 02:43:00 +00:00
Juergen Schmied
ec85c6be75 Implemented the ErrorInfo interfaces. 2000-08-03 04:34:59 +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
Huw D M Davies
952c1e442a Add DosDateTimeToVariantTime prototype. 2000-05-03 17:42:40 +00:00
Patrik Stridvall
a9855b5122 Added stubs for {Create,Get,Set}ErrorInfo. 2000-02-26 18:33:21 +00:00
Rein Klazes
260cd4ec94 First implementation of LoadTypeLibEx(). 1999-09-29 12:15:05 +00:00
Michael Veksler
4405f3c369 Removed unnecessary includes from ole related files. 1999-08-18 18:35:57 +00:00
Patrik Stridvall
a9a671d7ca Fixed ANSI compabillity. 1999-04-25 19:01:52 +00:00
Alexandre Julliard
f80b2ab669 Authors: Paul Quinn <paulq@corel.ca>, Aaron Barnes <aaronb@corel.ca>, Adrian Thurston <adriant@corel.ca>
Bundle of new stubs.
1999-03-28 13:15:40 +00:00
Paul Quinn
89b21b4c28 Many new defines, and structs to help compile MFC. As well as a few
OLE corrections from earlier.
1999-03-14 13:47:00 +00:00