Commit Graph

508 Commits

Author SHA1 Message Date
Alexandre Julliard 81f2a7307b Send message for WSAAsyncSelect sockets directly from the server,
instead of using the service thread. Finished separation of ws2_32.
2002-03-23 20:43:52 +00:00
Alexandre Julliard 8d1550d1c6 Export the FILE_GetUnixHandle functionality from ntdll. 2002-03-23 18:48:12 +00:00
Francois Gouget 58ed1f173d Add trace function (same as in the perl framework).
Add support for todo tests.
Make it possible to specify a printf-style message in ok.
Include windef.h in test.h for compiling tests on Windows.
2002-03-22 00:58:00 +00:00
Alexandre Julliard aeb566052f Correctly fill parent pid, module size and module name in process and
module snapshots. Based on patches by Eric Pouech and Andreas Mohr.
2002-03-22 00:21:23 +00:00
Mike McCormack fc93261150 Begin to make wine an SMB client. 2002-03-12 19:24:04 +00:00
Patrik Stridvall 136fae57c3 - Better handling when settimeofday is not available.
- Adding name translations for p{close,open} and str{,n}casecmp if
  they exists under other names.
2002-03-11 05:08:38 +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
Alexandre Julliard 3c4538c8db Reimplemented DebugBreakProcess. 2002-02-27 01:55:02 +00:00
Eric Pouech fbccb38e18 New XP debugging APIs: implemented DebugActiveProcessStop,
DebugSetProcessKillOnExit, DebugBreakProcess.
2002-02-27 01:28:30 +00:00
Peter Hunnisett f11de4fc3d Fix return type of GetAsyncKeyState. 2002-02-22 21:24:25 +00:00
Peter Hunnisett 063b077df0 Fix ICOM_DEFINE for C++. 2002-02-21 20:09:42 +00:00
Alexandre Julliard caa03388bc Preliminary version of the C unit tests run-time environment.
Added make rules for building and running C unit tests.
2002-02-20 19:03:59 +00:00
Alexandre Julliard f5818d2f7a Upgraded configure script to use autoconf 2.50 features, and renamed
to configure.ac.
Changed a few things to better follow the autoconf guidelines.
2002-02-14 19:47:29 +00:00
Patrik Stridvall f94462fb75 Move __stdcall/__cdecl to the right place. 2002-01-31 23:22:07 +00:00
Dimitrie O. Paun 693cca5d4d Make FIXMEs more grep-able. 2002-01-29 03:12:19 +00:00
Marcus Meissner a3ff175ef2 Moved guids needed for Proxy/Stub factories to respective .h files,
add to libwine_uuid.
2002-01-22 18:27:24 +00:00
Alexandre Julliard dbe2cd907d Moved debug definitions to include/wine/debug.h. 2002-01-22 00:55:18 +00:00
Martin Wilck aa47705809 Added support for socket flags. 2002-01-09 21:16:24 +00:00
Martin Wilck 88cd32b2d1 More general approach to file descriptor types and flags. 2002-01-09 20:30:51 +00:00
Alexandre Julliard f1a0de996a Added configure check for pread/pwrite. 2002-01-07 21:00:27 +00:00
Alexandre Julliard 5016e921f5 Added support for cleaning up the TEB from inside the exiting thread. 2002-01-07 18:04:07 +00:00
Alexandre Julliard 3f510ad2bb Link with libutil only where needed. 2002-01-01 01:13:03 +00:00
Alexandre Julliard 8ae5761dd0 Fixed string type in named pipe requests. 2001-12-31 22:26:51 +00:00
Mike McCormack 6f011c0847 - move async activation into the server
- implement async queues
2001-12-20 00:07:05 +00:00
Alexandre Julliard 7d155d6706 Changed DC hook and abort proc handling to avoid having to allocate
thunks dynamically.
2001-12-17 20:58:06 +00:00
Jukka Heinonen 1c881d5b72 Fixed incorrect packing. 2001-12-05 22:09:33 +00:00
Alexandre Julliard 9caa71eef4 Redesign of the server communication protocol to allow arbitrary sized
data to be exchanged.
Split request and reply structures to make backwards compatibility
easier.
Moved many console functions to dlls/kernel, added code page support,
changed a few requests to behave properly with the new protocol.
2001-11-30 18:46:42 +00:00
Eric Pouech 0b83d4cbc6 New console code based on Win32 windows. 2001-11-23 23:04:58 +00:00
Francois Gouget 272023190e Make winsock.h and winsock2.h independent from the Unix headers.
Make them compatible with both the Unix C headers and the MSVCRT
headers.
Ensure compatibility with the Unix headers via the USE_WS_PREFIX
macro.
Add WINE_NOWINSOCK: prevents winsock.h from being included from
windows.h when defined.
Add ws2tcpip.h, move definitions to the right header.
2001-11-14 21:26:23 +00:00
Alexandre Julliard 805bdc53e8 Store the window caption text in the server.
Maintain a paint count separately for each window.
2001-11-13 22:23:48 +00:00
Alexandre Julliard 22c2ac7273 Implemented inline version of the iswxxx functions. 2001-11-08 19:16:34 +00:00
Mike McCormack 309ed4e1f1 Make ConnectNamedPipe work in overlapped mode. 2001-11-07 20:14:45 +00:00
François Gouget 1425941e29 Fix the #include order for config.h.
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
Ove Kaaven 708a846a88 Save a disk file's drive type in the server object. 2001-10-24 00:23:25 +00:00
Alexandre Julliard ddc3317b7a Store in the server all the window information accessible with
Get/SetWindowLong.
2001-10-22 19:08:33 +00:00
Hidenori Takeshima 5181cda00e Fixed a typo. 2001-10-21 15:02:59 +00:00
Alexandre Julliard 4b62618122 Added support for low-level mouse and keyboard hooks.
Misc keyboard handling cleanups.
2001-10-17 17:50:02 +00:00
Alexandre Julliard 0d50965a13 Added requests to store window rectangles in the server. 2001-10-16 21:55:37 +00:00
Alexandre Julliard 7a2017dd65 Store window properties in the server. Moved property.c to dlls/user. 2001-10-12 19:10:26 +00:00
Alexandre Julliard d8a8c1131d Added atom_t type for atoms to make sure we use the same type
everywhere. Handle MIN_STR_ATOM offset in the server.
2001-10-12 18:45:29 +00:00
Alexandre Julliard 003f02b733 Removed the cleanup_window_queue request. 2001-10-11 20:50:10 +00:00
Alexandre Julliard 844ceb98ba Store window class atom in the server.
Keep unlinked windows on a separate list.
Implemented inter-process FindWindow().
2001-10-09 23:26:40 +00:00
Francois Gouget 5bcd11631f Remove non windows macros. 2001-10-09 23:25:20 +00:00
Francois Gouget 5686dc0fe8 Move WINDEBUGINFO from winbase.h to winbase16.h and rename to
WINDEBUGINFO16.
Move the related macros to version.c and ifdef them out (kept for
documentation only, they are not used).
2001-10-08 22:30:34 +00:00
Mike McCormack 568c67e173 Make serial fd blocking mode depend on FILE_FLAG_OVERLAPPED. 2001-10-08 20:40:57 +00:00
Malte Starostik 7f9b0906dd Added IPersistPropertyBag2 and IPropertyBag2 definitions, added
missing  BINDINFO member.
2001-10-05 19:38:43 +00:00
Mike McCormack ff58be5c7f Fetch a handle type in FILE_GetUnixHandle. 2001-10-04 16:18:15 +00:00
Ove Kaaven ed9d1602eb Corrected INVOKEKIND enumeration values. 2001-10-03 18:40:28 +00:00
Ove Kaaven daaeb5e33c Fixed a couple of typos. 2001-09-25 22:38:59 +00:00
Ove Kaaven 080abfcd35 Added ICOM_[C]THIS_MULTI macros to make it easier to implement objects
that expose multiple interfaces. Added prototypes for CoGetPSClsid and
IUnknown_*_Proxy.
2001-09-25 22:38:43 +00:00
Alexandre Julliard 7695d69046 A couple of optimizations to avoid some server calls in WIN_FindWndPtr
and related functions.
2001-09-24 01:19:59 +00:00
Alexandre Julliard a09da0cbbd Added proper support for storing window parents in the server.
Added a few requests to query the window hierarchy.
2001-09-21 21:08:40 +00:00
Hidenori Takeshima e575ad292e Implemented IMemAllocator. 2001-09-17 20:04:28 +00:00
Huw D M Davies e940f1d2c0 Fix typo. 2001-09-10 23:13:40 +00:00
Huw D M Davies de8ba1c12e Add FUNCFLAGS and change TYPEFLAGS_* to an enum. 2001-09-07 15:26:36 +00:00
Alexandre Julliard 1a66d226eb Added global management of user handles in the server.
Very preliminary support for shared window handles.
2001-08-28 18:44:52 +00:00
Mike McCormack f2e7ce7f6a Implemented GetNamedPipeInfo. 2001-08-27 19:03:42 +00:00
Hidenori Takeshima cb6348ca96 Added ICOM_METHOD12-26, ICOM_VMETHOD12-26, ICOM_CALL12-26. 2001-08-27 19:00:12 +00:00
Francois Gouget 14b06d40e6 Added WSASTARTUP16 a 1 byte alignment version of WSASTARTUP for win16. 2001-08-24 21:33:58 +00:00
Mike McCormack bf55457f24 Implement WaitNamedPipe and DisconnectNamedPipe.
Add a state for each pipe handle in the server.
Create a socket on when the pipe is opened, not before.
2001-08-23 23:29:20 +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
Alexandre Julliard 3954117ce4 Moved undocshell.h to dlls/shell32. Removed shell16.h. 2001-08-16 18:49:56 +00:00
Uwe Bonnes 97ac961214 PathGetExtensionAW has three arguments. 2001-08-15 23:20:21 +00:00
Alexandre Julliard d253c58b1b Rewrote most of SendMessage/PeekMessage.
Implemented inter-process messaging.
Moved most message routines to dlls/user, and split off 16-bit
routines to a separate file.
2001-08-07 19:19:08 +00:00
Marcus Meissner 252b0fe099 Implemented OleLoadPicture.
Added support for loading JPEG, Bitmap and Icons from persistant
streams.
Implemented JPEG support using libjpeg, added necessary configure.in
options.
Added IConnectionPoint style notifications to the IPicture iface.
Implemented several of the stubs already there, added some more.
2001-08-06 18:52:14 +00:00
Alexandre Julliard 9208301d16 Rewrote Escape to avoid calling down to Escape16.
Replaced Escape by ExtEscape in the DC function table.
2001-07-29 20:25:14 +00:00
Patrik Stridvall 65b07455d3 Removed inclusion of winnt.h because the porting layer shouldn't
include Windows specific stuff.
2001-07-26 21:43:29 +00:00
Alexandre Julliard 8afe6628f8 Avoid using GetFastQueue16 from USER. 2001-07-26 20:12:22 +00:00
Patrik Stridvall bc38d6bfde - Made sure that the files that contains the declarations
of the implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-20 18:00:00 +00:00
Alexandre Julliard 37e9503ae8 Moved server.h to include/wine. 2001-07-19 00:39:09 +00:00
Patrik Stridvall 33929be46f - Made sure that the files that contains the declarations
of implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-18 21:04:23 +00:00
Alexandre Julliard ed2f19a63f Put AC_DEFINE symbols definitions directly in the configure script so
that we no longer need an acconfig.h. Cleaned up dlopen() tests a bit.
2001-06-27 21:42:00 +00:00
Marcus Meissner 6bb990f7fd Drop any file64 functions, try to use system supplied 64-bit mode by
using proper defines.
2001-05-29 20:55:21 +00:00
Andreas Mohr 9650c2baea - BuildCommDCB16() uses int instead of BOOL
- OpenComm16() should return IE_BADID for *all* invalid strings
2001-05-24 18:42:38 +00:00
Alexandre Julliard 5079214384 Warnings fixes. 2001-05-16 19:45:34 +00:00
Marcus Meissner 3f1ed52d8b Implemented 64bit file size handling.
Removed several unneeded sys/stat.h includes.
2001-05-14 20:09:37 +00:00
Francois Gouget adcc3ad01f The declaration of DECIMAL in VARIANT happens in the wrong place.
Comment out for now.
2001-05-10 03:11:26 +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
Ove Kaaven ce4e097d4c Generalize the Wine version resource template a bit. 2001-04-16 18:58:46 +00:00
Marcus Meissner 40af1a87a5 Arg 3 of CoGetClassObject is COSERVERINFO*, added some more debug. 2001-04-09 18:33:49 +00:00
Huw D M Davies 26ee2ca445 Fix member names in NEWTEXTMETRICEX structs. 2001-04-04 00:09:53 +00:00
Dmitry Timoshkov 13535251bf Add version info for built-in oleaut32.dll. 2001-03-19 19:17:27 +00:00
Dmitry Timoshkov 8f73cd14ce Add version information (16 and 32 bit) to core built-in dlls:
krnl386.exe/kernel32.dll, user.exe/user32.dll, gdi.exe/gdi32.dll.
Provide a way for reading version information using standard API:
GetFileVersionInfoSize -> GetFileVersionInfo -> VerQueryValue.
2001-02-23 20:37:13 +00:00
Josh DuBois 169adf5c64 More verbose error messages when application load fails. 2001-02-13 20:23:45 +00:00
Francois Gouget 40774c3c91 Change the callback declarations to a safer format. 2001-02-12 01:29:08 +00:00
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