Commit Graph

1723 Commits

Author SHA1 Message Date
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