Commit Graph

423 Commits

Author SHA1 Message Date
Jon Griffiths c968ed1542 Fixed Unicode strings. 2001-01-22 02:18:27 +00:00
Alexandre Julliard 598412ed6a Cleaned up the various errno location tests in configure.
Added (h_)errno_location pointers in the library that allow remapping
the calls in higher level dlls.
Moved X11DRV_CritSection out of sysdeps.c and into x11drv.dll.
2001-01-17 20:22:22 +00:00
Alexandre Julliard 7d5bc5c3f9 Removed some direct accesses to the 16-bit task structure. 2001-01-15 20:09:09 +00:00
John R. Sheets bc80a3b4c7 Implemented stubs for IWebBrowser in shdocvw.dll. 2001-01-11 22:32:44 +00:00
John R. Sheets 2dc7a4379e Correct some cut & paste typos. 2001-01-11 20:21:15 +00:00
Ulrich Weigand 15f96804c4 Replaced architecture-dependent configure checks by hardcoded
definitions in winnt.h (to avoid config.h dependency).
2001-01-11 00:54:21 +00:00
Huw D M Davies 62519abbaf Moved all the documented shlwapi functions out of undocshell.h into
shlwapi.h.  Nothing but files in dlls/shell32 will now include
undocshell.h.
2001-01-07 21:50:52 +00:00
Marcus Meissner 268b5555ac Don't call QueryAbort16() in WriteSpool16(), since it might be called
with locks held (and we do not need to call it here).
2001-01-06 00:35:37 +00:00
Francois Gouget a1d23f5da6 Removed the 'fn' prefix (i.e. ICOM_FN). 2001-01-04 22:59:48 +00:00
Eric Pouech 9a37e505ed Fixed evilish cut and paste. 2000-12-29 17:39:52 +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
Ulrich Weigand cc195924a6 Added check whether unaligned memory access is allowed.
Added macros to access unaligned WORDs / DWORDs.
2000-12-27 04:18:26 +00:00
Eric Pouech 4d24e0f5a6 Replaced calls to KERNEL.Yield16 by calls to KERNEL32.K32WOWYield from
outside libkernel.so.
2000-12-22 23:25:47 +00:00
Alexandre Julliard 5801723b50 Replaced WIN16_GlobalLock16 by "official" function K32WOWGlobalLock16. 2000-12-22 01:09:26 +00:00
James Hatheway 93a41e8d76 Fix IConnectionPointContainer interface macros. 2000-12-19 23:30:24 +00:00
Alexandre Julliard c582ccb9c1 Added inline definition for MapSL. 2000-12-14 20:31:17 +00:00
James Abbatiello e675887129 Work around glibc 2.1.x dlopen bug (again). 2000-12-13 21:32:55 +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
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 9877906b26 Removed dependencies on the internals of the CLASS structure.
Added support for having both ASCII and Unicode window procedures for
builtin classes.
2000-12-07 23:39:16 +00:00
Alexandre Julliard e995f8cfda Added define for S_ISLNK if missing. 2000-12-06 20:20:11 +00:00
Francois Gouget e550ebe429 Fixed the case of "Winelib". 2000-12-02 20:17:13 +00:00
Alexandre Julliard 6170666f25 Moved useful NE format definitions to winbase16.h. 2000-12-01 21:31:02 +00:00
Dimitrie O. Paun 1ec253d205 Supply dummy getrlimit if absent. 2000-12-01 20:47:11 +00:00
Alexandre Julliard e296bf3717 Renamed CallTo16* functions to wine_call_to_16* and export them from
kernel32.spec.
2000-11-29 19:39:30 +00:00
Alexandre Julliard 27bb311d70 Added implementation of lstat to port.c. 2000-11-29 17:48:06 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Alexandre Julliard ac7efef3b5 Changed GetProcAddress16 and 16-bit resource functions to take normal
pointers instead of SEGPTRs.
Removed WIN16_GetTempDrive.
2000-11-27 21:54:01 +00:00
Alexandre Julliard 5b971f009a Moved wsprintf functions to dlls/user. 2000-11-26 22:39:50 +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
Andreas Mohr 434466c8e2 Added GdiSeeGdiDo16. 2000-11-25 01:39:31 +00:00
Dimitrie O. Paun c7b49e5d2c Fixed typo in macro ICOM_METHOD11 parameter list. 2000-11-25 01:28:39 +00:00
Alexandre Julliard ab687979fd Moved standard syslevel APIs declaration to winbase.h.
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +00:00
James Hatheway b134ed7c38 Increase number of parameters possible for ICOM_* macros to 11. 2000-11-15 23:05:13 +00:00
Alexandre Julliard 914406f854 Moved LDT handling to libwine.so. Changed the interface to use the
exported LDT_ENTRY structure.
2000-11-14 01:54:49 +00:00
Alexandre Julliard 591832ec2e Added support for loading a Winelib app linked as a .so from the wine
launcher, based on the value of argv[0].
2000-11-10 01:38:28 +00:00
Alexandre Julliard db4c45671f Do builtin modules fixups in library/loader.c before calling the
load_dll callback.
2000-11-08 23:02:48 +00:00
Alexandre Julliard 85423c6a6b Added new library.h header for libwine definitions.
Added getpagesize() and wine_anon_mmap() portability functions.
2000-11-08 04:28:54 +00:00
Juergen Schmied ebcc72c925 Better handling of custom templates and hooks.
Bug fixes.
2000-11-01 01:50:21 +00:00
Alexandre Julliard 634824be58 Raise an exception when a stub entry point is called. 2000-10-26 22:03:34 +00:00
Alexandre Julliard b85a6adc58 Duplicate resource directory searching routines instead of calling
pe_resource.c internal functions.
Made GetFileResource16 and GetFileResourceSize16 callable directly
instead of defining extra internal functions.
2000-10-23 01:38:29 +00:00
Francois Gouget 0062892c66 Added/fixed missing extern "C". 2000-10-19 20:32:18 +00:00
Konrad Rieck c6f0a4ed87 Changed repne to repnz for Solaris assembler. 2000-10-13 17:03:52 +00:00
Francois Gouget 48fc4aaaea Moved LCTYPE, GetLocaleInfo, NUMBERFMT, CURRENCYFMT and the related
API to winnls.h.
Moved LANG_xxx, SUBLANG_xxx, SORT_xxx and IS_TEXT_UNICODE_xxx to
winnt.h.
2000-10-12 23:20:29 +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
Francois Gouget fcc199c78a Fix the return type of mixerMessage16. 2000-09-29 00:23:04 +00:00
Alexandre Julliard ab170a9c84 Fixed a few non portable zero-size array declarations. 2000-09-27 00:25:24 +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 56b9fea89a A few includes cleanup. 2000-09-26 00:02:22 +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 0ff083bab8 Call WH_GETMESSAGE hook in PeekMessage too (based on a patch by Rob
Farnum).
2000-09-24 19:51:15 +00:00
Alexandre Julliard b59627c89f Added support for exception handling while in vm86 mode.
Fixed a couple of bugs in vm86 support.
2000-09-24 03:11:54 +00:00
Damyan Ognyanoff 72140b02c3 IErrorInfo is now derived from IUnknown. 2000-09-22 22:07:53 +00:00
Alexandre Julliard 45b2c868bb Added preliminary support for switching to vm86 mode with proper
exception handling.
2000-09-18 02:15:07 +00:00
Huw D M Davies 52b2d2cff6 Add some Str* prototypes to shlwapi.h. 2000-09-13 20:28:31 +00:00
Alexandre Julliard 7f04a17ec6 Added missing __volatile__. 2000-09-12 23:41:07 +00:00
Erik Hofman 566e77ba4d Added missing const to external tables definitions. 2000-09-07 18:42:52 +00:00
Alexandre Julliard 8328a9d67d Fixed finally handler name. 2000-08-23 19:19:35 +00:00
Alexandre Julliard 2a2321bbca Authors: Alexandre Julliard <julliard@codeweavers.com> (for Corel), Albert den Haan <albertd@corel.com>
Added syslevel locking for GDI operations.
Propagate the changes through the graphics code.
2000-08-19 21:38: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 c97bb4c5d6 Added Unicode ctype support. 2000-08-11 20:53:40 +00:00
Alexandre Julliard aea78538c8 Added UTF-8 conversion support. 2000-08-11 00:44:33 +00:00
Alexandre Julliard 5ab9d860f2 Removed some unnecessary #includes and dll dependencies. 2000-08-09 22:35:05 +00:00
James Hatheway 8b5b0076a1 Fixed typo in the IDispatch_GetTypeInfo macro. 2000-08-09 22:22:05 +00:00
Alexandre Julliard 691171b8e6 Small dll interfaces cleanups. 2000-08-08 20:49:16 +00:00
Ove Kaaven e6b51bf25f Protect the prototypes in here from C++ name mangling... 2000-08-07 02:35:05 +00:00
Alexandre Julliard 3850c1ae16 Moved most USER string functions to dlls/user.
Cleaned up a few more inter-dll dependencies.
2000-08-06 02:42:46 +00:00
Andreas Mohr ae50941ae5 Fixed the Win16/Win32 structure size/alignment differences of
ws_hostent, ws_protoent, ws_servent, ws_netent.
2000-08-03 22:19:09 +00:00
Juergen Schmied ec85c6be75 Implemented the ErrorInfo interfaces. 2000-08-03 04:34:59 +00:00
Alexandre Julliard 08aad6ac25 Fixed IShellLinkA/W definitions. 2000-08-03 04:21:23 +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
Gerard Patel d8cb43c78e Changed the win31 style file dialog to 32 bits structures and
messages.
2000-08-01 23:33:37 +00:00
Alexandre Julliard a3502ccf93 Merged setupx.dll into setupapi.dll.
Merged sound.dll into winmm.dll.
Merged stress.dll into kernel32.dll.
2000-07-26 19:51:37 +00:00
Dmitry Timoshkov fef718655d Make fnt2bdf produce correct fonts. 2000-07-25 12:25:40 +00:00
Francois Jacques e81b63fc9c Implemented SafeArrayGetVarType.
Added a VT_RECORD variant type definition.
2000-07-08 18:30:41 +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
Juergen Schmied 1dbf403db4 - many new Path* stubs
- many bugfixes
- class functions expanding environments variables now
2000-06-24 12:56:08 +00:00
Andreas Mohr 1f0c216e8f Implemented/stubbed IconSize() and ControlPanelInfo() needed for Win
2.0 control.exe and paint.exe.
2000-06-24 12:54:00 +00:00
Alexandre Julliard 917910324f Cleaned up a few inter-dll dependencies. 2000-06-23 16:13:33 +00:00
Stephane Lussier fb949605ba - Fixed a memory corruption in safe arrays when using SafeArrayCopy()
function with a SafeArray created with FADF_FIXEDSIZE.
- Added more FADF flags in the .h file.
- FADF flags were defined twice, corrected the situation.
2000-06-18 19:29:40 +00:00
Juergen Schmied 13d74c5f0a - new dll shfolder.dll
- small fixes
2000-06-13 03:45:52 +00:00
Alexandre Julliard 0d4a55804e Added a couple of Unicode string routines. 2000-06-13 01:08:29 +00:00
Marcus Meissner df8a69b36b Corrected IsEqualGUID prototype. 2000-06-12 21:54:26 +00:00
Alexandre Julliard 261abcd5bc Reimplemented Unicode case mapping in a slightly more efficient way.
Moved case mapping support to the unicode directory.
Some cleanups in cpmap.pl, use WCHAR instead of unsigned short.
2000-06-12 01:16:11 +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
Alexandre Julliard 6659308fe9 Added support for WC_NO_BEST_FIT_CHAR and default char parameters in
cp_wcstombs.
Minor cosmetic fixes.
2000-06-10 04:29:16 +00:00
Alexandre Julliard fb270ddca4 Added a bunch of code page tables for multibyte<->wide char
conversions (with the help of Dmitry Timoshkov).
2000-06-09 05:27:21 +00:00
Gerard Patel 85f5832bad Remove the direct call into core (DIALOG_DoDialogBox). 2000-05-23 01:22:35 +00:00
Alexandre Julliard 680919c2e6 Moved Load/FreeLibrary16 definition to winbase16.h. 2000-05-07 18:39:28 +00:00
Juergen Schmied 51c74d82a9 Complete cleanup, bugfixes.
New: PathStripPath, PathMakeUniqueName, PathStripToRoot,
PathGetShortPath, PathParseIconLocation, PathRemoveExtension,
PathRemoveArgs, PathAppend, PathBuildRoot, PathCanonicalize,
PathFindNextComponent, PathRemoveFileSpec.
2000-04-28 20:23:46 +00:00
Juergen Schmied 24f4cdc69f Stubs for IQueryAssociations. 2000-04-28 20:22:33 +00:00
Patrik Stridvall f0deb8a17e Fixed some issues reported by winapi_check. 2000-04-15 20:44:21 +00:00
Ron Gage 7bfd079b37 Fixed bug reported by winapi_check. 2000-03-28 20:41:46 +00:00
Patrik Stridvall bbaf0ea799 Made the include files self sufficient. 2000-03-24 21:13:57 +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 72ed07e467 IOleItemContainer has OLEGUID(0x11c), not 0x11a. 2000-03-19 12:46:37 +00:00
Patrik Stridvall 6cc47d4924 Removed a lot of unnecessary includes and fixed the compile errors. 2000-03-08 18:26:56 +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
Juergen Schmied 50f067b726 Basic implementation of shell notifications. 2000-02-26 18:44:08 +00:00
Juergen Schmied 5c9b90be31 Added Winelib types. 2000-02-26 18:36:56 +00:00
Patrik Stridvall 0ee98cc39f Fixed ANSI C violations. 2000-02-26 13:17:55 +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
Juergen Schmied e2b8804525 - new files related to context menu and drag drop file operations
- render functions for clipboardformats
2000-02-20 18:46:28 +00:00
Alexandre Julliard b849d79104 Moved global atoms to the server (based on the work of Sergei
Turchanov <turchanov@otvprim.ru>).
2000-02-13 13:56:13 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Juergen Schmied b259af6d7c Added IPersistFolder2 interface. 2000-02-07 17:17:28 +00:00
Jeremy White 82d1a8fb73 Moved definitions such as BOOL16 and INT16 from windef.h into
wine/windef16.h.
2000-02-03 01:04:39 +00:00
Ulrich Weigand 7d43bceb7e Moved debugger to libwine to make it available to WineLib apps.
Try to invoke external debugger if internal debugger crashes.
Try to handle early invocation of debugger more gracefully.
2000-01-30 21:16:45 +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
Dmitry Timoshkov d1e3d8d841 Replaced LocalToWideChar() by lstrcpynAtoW(), WideCharToLocal() by
lstrcpynWtoA().
2000-01-23 03:21:14 +00:00
Alexandre Julliard 2fab2ef11f Changed to use new server-side registry support. 1999-11-23 19:41:34 +00:00
Huw D M Davies cdf191a205 Stub for GetFontData16. 1999-11-21 02:01:41 +00:00
Ulrich Weigand eb94c7d2c4 Adapted to new register function handling. 1999-11-13 23:54:04 +00:00
Patrik Stridvall b9010214d2 Added better missing function emulation. 1999-11-13 22:23:35 +00:00
Juergen Schmied c38cb0123b Made the buttons in the filedlg change when selecting a different
view type by the context menu, cleanup.
1999-11-12 01:02:27 +00:00
Ulrich Weigand ae8342df48 Bugfix: Exception handlers are *not* WINAPI. 1999-11-10 19:42:13 +00:00
Juergen Schmied 15602ccf40 - new interface declaration for IShellfolder2
- added this interface to all shell folders
- small fixes to shellview (crash with native comdlg32)
1999-11-07 22:31:18 +00:00
Francois Gouget edf3e434b0 Added ICMP DLL implementation. 1999-11-07 21:22:17 +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 486dee9072 Removed duplicate macro definitions for the IStorage and IStream COM
interfaces.
1999-11-04 01:51:46 +00:00
Huw D M Davies c0da44e459 It appears that StartDoc sends the STARTDOC escape with the DOCINFO
structure pointed to with the output data parameter.
1999-10-31 01:49:30 +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
Patrik Stridvall feb94cbbcb Made the include files self-sufficient. 1999-10-24 21:48:50 +00:00
Francois Gouget be9fd31b92 Define the COM macros even in C++. 1999-10-23 20:09:05 +00:00
Marcus Meissner 7064c0879f Added missing prototypes for StrRetToBuf(A|W). 1999-10-23 13:55:23 +00:00
Uwe Bonnes 22d4b0afdd Use LoadString16 for FormatMessage16 and handle
FORMAT_MESSAGE_ALLOCATE_BUFFER flag.
1999-10-13 14:00:09 +00:00
Francois Gouget afa8fe94ea Fixed a typo in a function declaration. 1999-10-13 13:55:26 +00:00
Alexandre Julliard 3d06d20bab Moved all signal support to a new platform-specific file.
Make use of the per-thread signal stack (Juergen Lock).
Fixed %fs in signal handler for non FS_sig case (Ulrich Weigand).
1999-09-27 10:58:45 +00:00
Patrik Stridvall 8276f696fc Fixed some of the issues reported by winapi-check. 1999-09-23 11:48:02 +00:00
Ulrich Weigand a2d5bb393a Bugfix: Improved GetCodeHandle16 / GetCodeInfo16. 1999-09-20 15:30:27 +00:00
Patrik Stridvall 32b4325d6b Add support for anonymous struct/unions on compilers that implement it. 1999-09-14 07:52:16 +00:00
Patrik Stridvall f4fca7c459 Eliminated warnings. 1999-09-11 16:27:20 +00:00
Alexandre Julliard 3b96efc0f7 Added configure check for str[n]casecmp. 1999-09-04 14:36:02 +00:00
Michael Veksler 4405f3c369 Removed unnecessary includes from ole related files. 1999-08-18 18:35:57 +00:00
Ulrich Weigand c3d9f28172 Moved implementation of WOW routines to single file.
Added all missing WOW routines, fixed WOWCallback16Ex.
1999-08-18 18:31:26 +00:00
Juergen Schmied eac255cd31 More use of rc files for strings and menus, fixes. First internal
icons.
1999-08-15 14:31:36 +00:00
Alexandre Julliard 89f079bfd1 Replaced a few calls to lstr* functions by their CRTDLL or libc
equivalent.
1999-08-08 18:54:47 +00:00
Ulrich Weigand bb1984e6bd Separated Win16 (USER) and Win32 (MPR) network routines.
Moved implementation of MPR to dlls/mpr/.
Added proper headers and stubs for missing MPR routines.
1999-08-07 14:32:33 +00:00
Patrik Stridvall 0e38aa7fda Various ANSI C compability fixes. 1999-07-31 17:34:43 +00:00
Ulrich Weigand 081daf7d21 Implemented KERNEL.447 (WIN32_OldYield16). 1999-07-31 17:27:38 +00:00
Patrik Stridvall 478eee17be Eliminated warnings. 1999-07-31 13:13:23 +00:00
Juergen Schmied 565b2e0b5d Many fixes/reimplementations. 1999-07-25 12:26:05 +00:00
Juergen Schmied f518b1939e New file. Contains functions not in the official headers but widely
used from other dlls.
1999-07-25 12:17:31 +00:00
Huw D M Davies 815615025e {Start|End}{Doc|Page} go through DCfuncs.
Implement these in the PostScript driver.
Change PSDRV_Escape to use them.
1999-07-25 11:25:59 +00:00
Lionel Ulmer 3b8a724228 Suppressed compiler warning by using the 'unused' attribute. 1999-07-24 12:08:20 +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
Alexandre Julliard 3742d77fdb Fixes for non-i386 compiling. 1999-06-26 18:30:03 +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
Alexandre Julliard 58371aa361 A few optimizations. 1999-06-18 18:26:35 +00:00
Patrik Stridvall 857eb39206 Mad the include files idempotent using a consistent macro naming
scheme.
1999-06-12 18:36:54 +00:00
Patrik Stridvall 6a3ad42293 Added CINTERFACE and NONAMELESSUNION support. 1999-06-12 11:05:29 +00:00
Patrik Stridvall 14da7b1c93 Added extern "C" if __cplusplus is defined. 1999-06-12 10:53:06 +00:00
Alexandre Julliard 51f5842089 Moved inclusion of winestring.h to winebase.h.
Added Winelib macros for lstrncmp functions.
1999-06-06 17:23:59 +00:00
Paul Quinn aaa830698c Some non-threatening fixes to some headers, as well as some casting
changes that make winelib more win32 code compatible.
1999-06-05 15:23:20 +00:00
Rein Klazes 713462dfc4 Read/load type libraries. Implementation of ITypeLib, ITYpeInfo,
ITypeLib2 and ITypeInfo2 methods.
1999-06-05 12:00:13 +00:00
Huw D M Davies ee2d9d5849 Implemented AddPrinterA, AddPrinterDriverA and GetPrinterDriverDirectory
Moved some 16bit GDI function declarations from winspool.h -> wingdi16.h
1999-05-22 18:53:56 +00:00
Ulrich Weigand c319c669fb Added ExitKernel16 (replacing USER_ExitWindows), ExitProcess16, and
MapProcessHandle; stub for BUNNY_351.
1999-05-22 16:18:36 +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
Huw D M Davies e39b676ae9 Implement DocumentProperties, DeviceCapabilities, beginnings of
Open/Get/ClosePrinter.  Additions to PSDRV_DeviceCapabilities.
Split off WINSPOOL into its own directory.
Several functions added to DC_Funcs.
Based largely on a patch by Pascal Lessard <pascal@macadamian.com>
1999-05-17 16:20:51 +00:00
Alexandre Julliard 0691998e45 Fixed a few bugs, and improved the exception macros (based on
suggestions by Sergei Turchanov).
1999-05-14 18:21:55 +00:00
Alexandre Julliard 3b3ff2bb06 Added macros and definitions for using exception inside Wine or
Winelib code.
1999-05-12 13:10:39 +00:00
Huw D M Davies a9f55c46c1 Split off wingdi16.h from wingdi.h. Add many more #defines/typedefs
to bring wingdi.h almost upto a complete NT4.0 interface.
Fix return value of SetRectRgn().
1999-05-08 12:45:18 +00:00
Thuy Nguyen ed1d88b610 Implementation of IStorage supported by an implementation of
ILockBytes on top of an HGLOBAL.
1999-05-08 10:05:08 +00:00
Michael Veksler 92ae219e04 Removed redundant include of winbase.h from winuser16.h.
Moved types from winbase.h to winuser16.h .
1999-05-02 11:39:09 +00:00
Francis Beaudet ebdea25edc Implemented the OLE object default handler and data cache. 1999-05-02 09:27:08 +00:00
Patrik Stridvall a9a671d7ca Fixed ANSI compabillity. 1999-04-25 19:01:52 +00:00
Patrik Stridvall c7a8dde118 #pragma pack(?) changed to #include "*pack*.h" 1999-04-25 12:36:53 +00:00
Jim Aston 10141fec52 Added some missing #defines I've run across. 1999-04-25 12:31:20 +00:00
Patrik Stridvall 0f8bc5b5c7 Fixed ANSI compabillity. 1999-04-22 16:27:50 +00:00
Michael Veksler ff5ae3dd65 Removed some includes of 16 bit API. 1999-04-22 15:26:11 +00:00
Michael Veksler 759e607ce4 Added missing windef.h includes. 1999-04-15 16:41:04 +00:00
Stephane Lussier 07e242f4a3 Implementation of IStorage::CopyTo and IStream::CopyTo. 1999-04-15 15:47:48 +00:00
Marcus Meissner f08c504fe7 Added missing ReadClassStg prototype. 1999-04-11 14:46:10 +00:00
Michael Veksler fc16cbe770 Introduce STATSTG16 - a 16 bit variant of STATSTG. 1999-04-11 12:11:48 +00:00
Francis Beaudet 0c12f37afd Implemented the CoCreateInstanceEx method. 1999-04-11 12:01:08 +00:00
Francois Gouget c7481b7298 Fixed a problem pointed out by Kevin Holbrook. 1999-04-06 07:09:09 +00:00
Francois Gouget a113234f13 Warning fix. 1999-04-06 07:06:59 +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
Ove Kaaven bd370c4baf Added CN_* flags used in WM_COMMNOTIFY. 1999-04-01 11:50:07 +00:00
Adrian Thurston 5a09711873 initguid.h should only contain the macro that defines the guids.
Added olectl.h to guid.c so some needed guids get defined.
Made GUID_NULL an actual guid set to 0,0,0...
1999-04-01 11:47:09 +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
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
Veksler Michael e94e35431e Removed winuser16.h from x11drv.h. 1999-03-22 12:41:26 +00:00
Francois Gouget d467835b3c Removed the obsolete ICOM macros. 1999-03-17 15:16:35 +00:00
Francois Gouget 88fd786b22 Updated the interfaces to use the latest ICOM macros. 1999-03-15 16:15:17 +00:00
Jim Aston 2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +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
Michael McCormack a84860785a Basic support for WIN32 serial communications API.
Modify DOSFS_OpenDevice to allow opening of COM ports.
Change Win32 comm functions to accept file handle.
Add declaration of COMSTAT32 structure.
1999-03-14 12:25:36 +00:00
Juergen Schmied a3b7a40f56 - IShellFolder and IEnumIDList are using the new COM headers
- fixed sort order for folders and drives
1999-03-14 12:16:21 +00:00
Francis Beaudet d58f61c0df Implemented the IPersistStream interface on the OLE font object. 1999-03-13 17:59:07 +00:00
Paul Quinn ea1640fc0c Added a lot of new OLE interfaces. 1999-03-10 18:03:53 +00:00
Marcus Meissner 064f170f76 More include optimisations and fixes. 1999-02-28 19:14:33 +00:00
Francis Beaudet bc5477f7d2 Implemented support for arrays and safe arrays in VARIANT data
structures. Also moved the SAFEARRAY definition (yet again) to the
obj_oleaut.h file.
1999-02-28 10:07:12 +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
Paul Quinn 40d9d3d039 Many interface declarations that originated from oleidl.h, oaidl.h and
ocidl.h separated into somewhat relevant obj_* files.
1999-02-25 17:10:15 +00:00
Adrian Thurston d636446e30 Adds C++ nameless union support to tagVARIANT. 1999-02-25 16:34:13 +00:00
Juergen Schmied e7fb5ecfd4 new file, including the IShellLink definition. 1999-02-24 15:57:20 +00:00
Juergen Schmied fa3f2eeae0 - header uses the last macros now
- rewrote IDropTarget according to the new COM headers
  (was local declared not using the already written prototypes)
- corrected Drop method (wrong parameter count)
1999-02-22 09:53:59 +00:00
Francis Beaudet eb5a29b6ce Implemented the OleCreateFontIndirect method and the associated COM
object. That object supports the IFont and IDispatch interfaces.
1999-02-20 16:48:53 +00:00
Francois Gouget 025464634a Small fixes. 1999-02-19 10:00:54 +00:00
Francois Gouget 2b7097606f Removed references to ICOM_INHERITS. 1999-02-18 16:02:41 +00:00
Francois Gouget d04d2f1474 Updated to use the latest COM macros. Defined more interfaces and API
functions.
1999-02-18 10:59:20 +00:00
Francois Gouget 87e385fc6b Moved some definitions to their proper include file. 1999-02-17 17:45:54 +00:00
Francois Gouget 573eb96299 Fixed some ICOM_INHERIT stuff and added new related API functions. 1999-02-17 17:36:27 +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
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Francois Gouget d6cbc01680 Added the actual definitions of the interfaces. 1999-02-17 10:31:39 +00:00
Francois Gouget 6ccda0d582 Added the actual interface definitions to the obj_marshal.h skeleton
file. Also defined the associated C API.
1999-02-13 12:25:03 +00:00
Francis Beaudet 3f7ad7aa98 Implemented the OLE Drag and Drop target registration mechanism and
the DoDragDrop loop to perform the DnD operation.
1999-02-13 09:13:49 +00:00
Francois Gouget 7c5c8dd28a Added the actual interface definitions to the obj_clientserver.h
skeleton file.
1999-02-13 07:36:39 +00:00
Alexandre Julliard 894077f402 Authors: Albert Den Haan <albertd@corel.ca>, Adrian Thurston <athursto@corel.ca>, Paul Quinn <paulq@corel.ca>, Zygo Blaxell <zygob@corel.ca>
Miscellaneous patches to header files.  All of these are supposedly there
to help build Winelib applications.
1999-02-10 06:48:49 +00:00
Francois Gouget 93217c6056 Better set of macros for defining the COM interfaces. 1999-02-10 06:42:03 +00:00
Michael Veksler 17822f452f Moved everything out of windows.h. 1999-02-09 15:46:25 +00:00
Paul Quinn f8db63bbc0 GetCursorPos is actually a BOOL. 1999-02-09 14:24:45 +00:00
Francis Beaudet d92b9475a9 Added an implementation of the OLE structured storage. The main
features of this implementation are:
- Can open storages created in Windows.
- Can create new storages that the windows libraries can
  read.
- Provides all the functionality to create/open/remove and
  rename streams and storages inside the main storage object.
1999-01-30 13:24:23 +00:00
Noomen Hamza 3fb3da29a1 Added a stub implementation for FileMoniker, ItemMoniker and BindCtx
classes.
1999-01-28 17:56:14 +00:00
Marcus Meissner ffb912e692 Fixed GetIconInfo16 (.spec,ICONINFO struct is different for Win16/Win32). 1999-01-28 09:14:38 +00:00
Andreas Mohr 22c904d3ca Implemented GetIconInfo16 -> call to GetIconInfo32. 1999-01-26 14:56:01 +00:00
Andreas Mohr 94e4485bff Implemented WIN16_CallMsgFilter32, WIN16_DispatchMessage32,
DrawAnimatedRects16 (stub), FormatMessage16, WIN16_GetMessage32,
WIN16_PeekMessage32 and WIN16_TranslateMessage32.
1999-01-23 14:15:17 +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
Michael Veksler ca1bc866cf Moves more stuff from windows.h.
- include/winuser.h - interface relevant to user32.spec
- include/wine/winuser16.h - the old 16 bit interface (internal use)
- include/winbase.h - some minor updates to keep things coherent.
- Lot of other files made to include wine/winuser16.h, which is no
  longer included from windows.h
1999-01-01 18:57:33 +00:00