Commit Graph

105 Commits

Author SHA1 Message Date
Francois Jacques 11ed84009e - TLB_DoFuncs: code cleanup and elemdescFunc read correctly from TLB.
- TLB_LoadTypeLib: ref count problem.
- ITypeLib::GetTypeInfoOfGuid: safer implementation (pointer testing).
- ITypeInfo::GetRefTypeOfImplType: safer implementation (pointer testing).
- ITypeInfo2::GetDocumentationL return errors if SysAllocString failed.
- TLB loader functions now trace in "typelib" channel.
- Improved traces in AddRef/Release and improved dump_* functions for
  debugging.
2000-12-21 20:20:12 +00:00
Francois Jacques de3486dd1c Updated SafeArrayGetUBound and SafeArrayGetLBound with more sanity
checks: an array has at least one dimension.
Updated validCoordinates, where SafeArrayGetLBound was called on
dimension 0.
2000-12-21 20:18:18 +00:00
Francois Jacques 31c6ac2aac Implementation of Dispatch API. 2000-12-19 23:29:58 +00:00
François Gouget 44a182229b winuser.h now requires that we include winbase.h first. 2000-12-19 04:53:20 +00:00
Gerard Patel 53d198cc00 Misc fixes for QueryPathOfRegTypeLib, TLB_ReadTypeLib,
ITypeInfo_fnGetContainingTypeLib.
2000-12-19 03:37:44 +00:00
Alexandre Julliard db0747d095 Removed some unnecessary includes.
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Alexandre Julliard 982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard f6168db690 Fixed some warnings. 2000-12-13 20:03:53 +00:00
Andreas Mohr 1af53cbb2a - README update
- add offsets to ASPI struct defines
- spelling
2000-12-09 03:15:32 +00:00
Andreas Mohr 5448c534f3 Don't fail on pointer address checking when foreign heap. 2000-12-09 03:08:02 +00:00
Alexandre Julliard 5be8e7d8e0 Created a small static library in ole/libuuid.a that contains all the
UUID definitions (with the help of Francois Gouget).
2000-12-06 01:50:47 +00:00
Francois Gouget 519346a47e Fixed miscellaneous typos, syntactic and grammatical errors. 2000-12-02 20:18:08 +00:00
Patrik Stridvall 2b3aa616e8 Added/modified documentation for function arguments. 2000-12-01 23:58:28 +00:00
David Elliott ea186796eb Remove libXXXX.so.1.0 lines from .cvsignore files. 2000-11-30 19:57:34 +00:00
Patrik Stridvall 1ed5577522 Don't include windows.h internally. 2000-11-30 01:31:28 +00:00
Alexandre Julliard 71d68bbae0 Use the HEAP_WINE_SEGPTR flag to specify allocations on the segptr heap.
Added a hack in MapLS to recognize such allocations and use the heap
selector in this case.
2000-11-30 01:19:51 +00:00
Dimitrie O. Paun 529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +00:00
Andreas Mohr cb45438be2 - added winver settings nt2k, win30 and win20 (yes, some rare programs need this)
and *document* it (win98 was not documented previously)
- OaBuildVersion: add value for NT4 SP6
- spelling fixes
2000-11-27 01:39:05 +00:00
Francois Jacques 7163957908 - support for arguments with referenced types
- imported type libraries
- dispinterfaces
- dual interfaces
- ref count problems
- memory leaks fixed
2000-11-25 23:51:30 +00:00
Francois Jacques 26c0b76bf8 Implemented VT_EMPTY to VT_BSTR type coercion. 2000-11-25 01:20:37 +00:00
Alexandre Julliard c95b1aa37f Avoid linking with ntdll where possible. 2000-11-16 04:15:08 +00:00
Alexandre Julliard 27939f00fd Start using import tables for dlls that can already support it. 2000-11-12 03:50:10 +00:00
Alexandre Julliard eb58e1d597 Declare debug channels in all dlls that need them; added imports of
ntdll where necessary.
2000-11-05 04:53:07 +00:00
Alexandre Julliard 908464d448 Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
Various warning fixes.
2000-11-01 03:11:12 +00:00
Joerg Mayer 650ba4df23 Move inline and static to the beginning of declarations. 2000-10-29 18:06:04 +00:00
Francois Jacques e21864225a Updated the load process so that all typelibs (and not just the first
one, as it used to) stored in a DLL can be loaded.
2000-10-26 19:29:09 +00:00
Francois Jacques d1082dcaa1 Updated typelib loader. Typelib contents can be stored as multibyte
strings. However, they are always returned to the application as BSTR,
e.g. UNICODE strings. All strings are now stored as BSTR instead of
ASCII strings.
2000-10-25 21:24:53 +00:00
Chris Morgan 04996dda2d Stub CreateDispTypeInfo, CreateStdDispatch16 and CreateStdDispatch. 2000-10-19 20:21:42 +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 9046658f06 Fixed some prototypes. 2000-10-03 04:09:17 +00:00
Alexandre Julliard 86f4531676 Added a few missing imports. 2000-09-27 22:32:44 +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
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Gerard Patel 9005713d39 Avoid infinite loop if QueryPathOfRegTypeLib is called with lcid=0. 2000-09-19 02:37:07 +00:00
Andreas Mohr 349655636b - made the MIDI sequencer error message much better for confused users
to be found on #WineHQ
- use strerror instead of errno at important places
- got rid of HAVE_STRERROR macro
- removed some #include:s (hopefully I didn't break anything)
2000-08-26 20:31:48 +00:00
Francois Jacques 133d70788a - removed unnecessary recursion
- upon query failure on main primary lcid and secondary lcid,
  attempts a query on system lcid (0)
2000-08-22 20:51:55 +00:00
Alexandre Julliard c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Alexandre Julliard d586dc99be Replaced VERSION_* calls by exported API equivalents. 2000-08-14 14:35:01 +00:00
James Hatheway 044d251980 - Avoid null-pointer exceptions by testing listnodes validity before doing
any work with those.
- TLB_ReadTypeLib now retrieves the length of the TLB and passes it to
  the TLB constructor which initializes TLBContext::length to that
  value.
- For non-standard pointed types, td[3] is always 0. I observed that
  the type is stored at td[2]/8 and not td[3]/8.
- Null-pointer exception occurs when GetRefTypeOfImplType is called on a
  type with no inherited interfaces. If the implemented types linked list
  is empty, set pRefType as 0 and return S_OK.
2000-08-09 22:24:04 +00:00
Alexandre Julliard 691171b8e6 Small dll interfaces cleanups. 2000-08-08 20:49:16 +00:00
Alexandre Julliard bea617be47 Moved GUID definitions to their respective dll. 2000-08-03 04:22:35 +00:00
Alexandre Julliard 6c9d83aa4c Added imports of user32/gdi32/kernel32 wherever necessary. 2000-08-03 00:04:24 +00:00
Marcus Meissner e5c1b9dded Added CreateTypeLib,LHashValOfNameSys stubs.
Check for correct struct magic before reading out of it.
2000-07-29 21:54:58 +00:00
Huw D M Davies e8d4268a9f Add Connection Point support to OLE font objects.
Add some more TRACE()s.
2000-07-28 20:17:21 +00:00
Alexandre Julliard 76d3671bee Added 'owner' field to 16-bit spec files to specify the name of the
32-bit dll that contains it.
2000-07-28 00:07:18 +00:00
Huw D M Davies 2e67f9bc44 A generic implemention of IConnectionPoint/IEnumConnections. 2000-07-25 12:26:12 +00:00
Andreas Mohr 2caee712a2 Spelling fixes. 2000-07-16 15:44:22 +00:00
Huw D M Davies 74b98116c6 OLE picture object implementation. 2000-07-15 14:59:11 +00:00