Commit Graph

39 Commits

Author SHA1 Message Date
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Patrik Stridvall 3ca9823941 Documentation ordinal fixes. 2001-06-20 23:03:14 +00:00
Francois Gouget ee285b7ac8 Remove unnecessary single quoting of debugstr_xxx strings. 2001-05-11 20:03:40 +00:00
Francois Gouget e76218dd61 Add '\n' at the end of traces. 2001-05-09 17:31:31 +00:00
Andreas Mohr b6474aebd4 The for loop in ITypeLib2_fnFindName was wrong (extra ';'). 2001-03-05 19:32:50 +00:00
Francois Gouget 282f7270c1 Small 'typos in comments' fixes. 2001-02-28 05:31:02 +00:00
François Gouget da2b6a9f26 Fixed some HFILE vs. HANDLE mismatches.
If not used the last parameter of CreateFile must be 0, not -1.
2001-01-06 01:29:18 +00:00
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
Gerard Patel 53d198cc00 Misc fixes for QueryPathOfRegTypeLib, TLB_ReadTypeLib,
ITypeInfo_fnGetContainingTypeLib.
2000-12-19 03:37:44 +00:00
Alexandre Julliard f6168db690 Fixed some warnings. 2000-12-13 20:03:53 +00:00
Patrik Stridvall 2b3aa616e8 Added/modified documentation for function arguments. 2000-12-01 23:58:28 +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 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
Francois Gouget 9046658f06 Fixed some prototypes. 2000-10-03 04:09:17 +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 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
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 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
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
Juergen Schmied e3b8640c77 - better loading of *.tlb files
- seperated code for loading tlb resource into memory from code for
  parsing the tlb resource.
2000-07-10 10:57:28 +00:00
Huw D M Davies 2cbda2ef92 Stub implementation of LHashValOfNameSysA.
Don't crash if we encounter a BSTR with length <= 0.
Fix typos in ITypeLib::GetDocumentation.
2000-07-09 12:17:52 +00:00
Huw D M Davies cd136c1256 Fix typo in ITypeLib::IsName. 2000-07-08 11:46:33 +00:00
Juergen Schmied 07b143ed4d - removed hack to find the right resource
- updated to use the ICOM macros
- cleaned up use typelib and typelib2 (was mixed up)
2000-06-24 13:50:52 +00:00
Alexandre Julliard 917910324f Cleaned up a few inter-dll dependencies. 2000-06-23 16:13:33 +00:00
Patrik Stridvall 0ee98cc39f Fixed ANSI C violations. 2000-02-26 13:17:55 +00:00
Alexandre Julliard d65198c6b3 Changed the loading of typelib files to use a memory mapping instead
of reading the file bit by bit.
2000-02-18 19:08:40 +00:00
Alexandre Julliard 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +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
Dimitrie O. Paun dd03cc19fd Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Andreas Mohr ffdd1717d4 - the OLE version returned was too low
- renamed OABuildVersion16 to OaBuildVersion16
- spelling fixes
1999-12-05 23:52:56 +00:00
Francois Gouget 6e74ec0015 Use the COM macros rather than directly accessing the lpvtbl field. 1999-10-13 14:01:40 +00:00
Rein Klazes 260cd4ec94 First implementation of LoadTypeLibEx(). 1999-09-29 12:15:05 +00:00
Patrik Stridvall 8276f696fc Fixed some of the issues reported by winapi-check. 1999-09-23 11:48:02 +00:00
Ulrich Weigand 2a722f498a Moved bulk of OLE implementation to dlls/ subdirectories. 1999-09-19 18:36:53 +00:00