Commit Graph

306 Commits

Author SHA1 Message Date
Ulrich Weigand d30821a0ff Added _DebugOutput (KERNEL.328), LogApiThk (KERNEL.423), LogApiThkLSF
(KERNEL32.42), LogApiThkSL (KERNEL32.44), LogCBThkSL (KERNEL32.47),
and SSConfirmSmallStack (KERNEL.704).
1999-05-23 09:19:52 +00:00
Ulrich Weigand e99e844c75 Fix typo (wrong DISPLAY.CheckCursor ordinal).
Superfluous FIXME converted to TRACE in CheckCursor.
1999-05-23 09:18:30 +00:00
James Juran da5d417dbf task.h was included twice. Removing one fixed a sig11 in gcc-2.7.2.3. 1999-05-22 18:42:10 +00:00
Ulrich Weigand 6cd829bd4c Check for syslevel violations while relay debugging. 1999-05-22 16:29:39 +00:00
Ulrich Weigand c5b8b3aeae Improved syslevel handling, store currently held syslevels in thread
database, WIN_CritSection converted to syslevel.
1999-05-22 16:28:47 +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
Ulrich Weigand 733145f726 Handle proc == NULL in THUNK_SetDCHook correctly. 1999-05-22 16:09:52 +00:00
Ulrich Weigand eec4c25468 Set %ebx to point to real 16-bit stack in CBClientThunkSL.
Pass %esi back-and-forth in CBClientThunkSL(Ex).
Copy modified buffers back after return from FT_Thunk.
Fix broken recognition of LS thunklets.
1999-05-22 11:24:46 +00:00
Marcus Meissner 1d58651149 Fixed specs for mixerGetDevCaps16/mixerGetID16, fixed mixGetDevCaps16. 1999-05-22 10:42:54 +00:00
Ulrich Weigand fdd6429632 Release Win16Lock when calling LoadLibrary32 from 16-bit code. 1999-05-17 15:00:13 +00:00
Ulrich Weigand cb78164396 Fixed THUNK_SetDCHook when using native USER. 1999-05-17 14:57:59 +00:00
Andreas Mohr 506fb71043 Implemented InsertInASPIChain and fixed minor things. 1999-05-13 18:44:14 +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
Patrik Stridvall 1bb9403938 ANSI C fixes. 1999-05-08 15:47:44 +00:00
Ulrich Weigand e6cc6fdc07 Call Callout routines directly when using builtin USER. 1999-05-08 09:56:00 +00:00
Ulrich Weigand 73496798e0 Added PlaySound16, sndPlaySound16. 1999-05-04 15:29:01 +00:00
Ove Kaaven dc8cf1002c Fixes winproc deadlock for win16. 1999-05-04 15:23:26 +00:00
Ulrich Weigand 6ce4006137 Bugfix: release Win16Lock in WinExec16, CallProc[Ex]32W_16. 1999-05-03 09:22:55 +00:00
Alexandre Julliard 06c275a643 Converted to the new debugging interface (done with the help of the
script written by Patrik Stridvall).
1999-05-02 14:32:27 +00:00
Eric Pouech 281c927317 - got rid of all the internal MM tweaks to load builtin MCI
drivers. They are all seen as drivers, loaded as DLLs and standard
  module loadorder is used to know which type to use (builtin vs
  native).
- first full working implementation of mmThread??? functions (to
  support gracefully native MCI drivers).
- support of mmShowMMCPLPropertySheet.
- fix of some heap validate bugs (thanks to Ulrich for reporting them).
1999-05-02 10:21:49 +00:00
Patrik Stridvall a9a671d7ca Fixed ANSI compabillity. 1999-04-25 19:01:52 +00:00
Bertho Stultiens d1895a776c Built-in dlls now have resources attached via the PE-header like
normal dlls. This enables the use of the resource API.
1999-04-25 18:31:35 +00:00
Patrik Stridvall c7a8dde118 #pragma pack(?) changed to #include "*pack*.h" 1999-04-25 12:36:53 +00:00
Uwe Bonnes 2df1afdfa9 Add a stub for GlobalMasterHandle. 1999-04-25 09:22:13 +00:00
Michael Veksler ff5ae3dd65 Removed some includes of 16 bit API. 1999-04-22 15:26:11 +00:00
Ulrich Weigand 8228bd6792 Added missing profile KERNEL routines (call 32-bit versions). 1999-04-22 09:56:09 +00:00
Ulrich Weigand a7e6e81d07 Bugfix: BUILTIN_GetEntryPoint16 didn't work correctly with the new
entry table layout.
1999-04-22 09:54:15 +00:00
Bertho Stultiens 10db759b47 Corrected wrong return values of built-in loader to work with the
loadorder stuff.
1999-04-21 14:25:21 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Bertho Stultiens c1d1cfe976 Reorganization of the loader to correctly load and free libraries and
implementation of load order to load different types of libraries.
1999-04-18 12:14:06 +00:00
Andreas Mohr dca5e56b90 - Implemented proper ("real", compressed) Win16 entry tables.
- Fixed MyAlloc (AKA NE_AllocateSegment).
- Implemented PatchCodeHandle16.
1999-04-16 08:17:17 +00:00
Eric Pouech 2dceed256f Updated (prepare|unprepare)header functions (wave, midi) to allow
correct callback mechanisms. Added wine specific entry for mmThreadXXX
functions thread starting point.
1999-04-11 12:13:37 +00:00
Ulrich Weigand 73663071c6 Call InitApp16 (using Callout) for initial process. 1999-04-10 16:32:45 +00:00
Ulrich Weigand 466cd44484 Added GdiSignalProc() stub. 1999-04-01 11:46:02 +00:00
Ulrich Weigand e392a0c975 Added USER32.UserSignalProc to Callout table.
Implemented built-in UserSignalProc().
Don't announce Win3.1-style USER handler any more.
1999-04-01 11:44:52 +00:00
Eric Pouech 0eb5c525bd Added StackEnter() and StackLeave() stubs 1999-04-01 10:18:43 +00:00
Ulrich Weigand 6903156eb5 Allow NULL NE resource handler; call the default handler directly.
Removed WPROCS / Callbacks support for WineLib resource handlers.
1999-04-01 10:08:21 +00:00
Marcus Meissner 461ded42ac Added -dll option for winelib programs. (Note: will not print warnings
on failure currently).
1999-03-22 14:54:05 +00:00
Eric Pouech 20c4e8528a Added new stubs (mmTaskXXX, mmThreadXXX, mciExecute). 1999-03-22 14:51:57 +00:00
Eric Pouech a9ffdcf903 Moved all MCI internal functions/variables/macros to mci.c.
Changed some interface names.
1999-03-15 15:42:26 +00:00
Francois Boisvert 6b1b41cf85 Made access to the wnd struct thread-safe. 1999-03-14 17:25:32 +00:00
Jim Aston 2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +00:00
Marcus Meissner 88e651dac3 Fixed newly introduced and some leftover warnings. 1999-03-13 18:20:26 +00:00
Ulrich Weigand 48241e999a Implemented UTRegister and UTUnRegister. 1999-03-13 12:54:55 +00:00
Keith Matthews 397964746f Added coded stubs for DdeQueryConvInfo (16 & 32 bit), DdeAddData (32
bit), DdeAbandonTransaction (32 bit), DdeImpersonateClient (32)
DdeSetQualityOfService, DdeSetUserHandle.
Corrected heap handling in DdeInitializeW, refined CreateMutex error
handling.
General tidying.
1999-03-13 12:53:39 +00:00
Pavel Roskin cbb9549687 Added prototypes for OleQueryLinkFromClip, OleQueryCreateFromClip,
OleCreateLinkFromClip, OleCreateFromClip, OleQueryType,
OleRevertClientDoc, OleEnumObjects.
1999-03-13 12:51:19 +00:00
Ulrich Weigand a54084a00f Temporary fix: Activate 16-bit system timer callback routines, but
skip calling them if timer signal occured while current thread was
holding the Win16Lock (to prevent 16-bit stack corruption).
1999-03-10 17:49:26 +00:00
Ulrich Weigand e562453dae Added USER.DestroyIcon32 to Callout struct. 1999-03-10 14:06:53 +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
Huw D M Davies 34acebc14b Fixed a few broken includes. 1999-02-19 16:03:19 +00:00
Marcus Meissner 04c3e1d456 Removed a lot of occurences of windows.h (and added necessary other
includes).
1999-02-19 10:37:02 +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
Uwe Bonnes 29a96e1e0d Change type of mode argument to GETVDMPOINTER32W from DWORD to Word 1999-02-17 10:20:30 +00:00
Marcus Meissner 9faa7d735a Moved the if1632/signal.c stuff into loader/signal.c, adapted function
pointers for wine_debug and INSTR_EmulateInstruction.
1999-02-13 17:55:17 +00:00
Brad Pepers 0bdff36d38 WinG fixes. 1999-02-09 15:37:16 +00:00
Ulrich Weigand 16bdc256b9 Implemented KERNEL.434 (UnicodeToAnsi). 1999-02-02 10:27:31 +00:00
Ulrich Weigand 667fc3af66 Implementation of VER.DLL. Thunks up to VERSION.DLL. 1999-01-31 10:08:42 +00:00
Francis Beaudet f56d029f96 Implemented the startup-shutdown mechanism for the COM subsystem.
Implemented the Class object registration mechanism.
1999-01-30 13:36:55 +00:00
Marcus Meissner 03479f8adb Fixed a lot of warnings for possible problems. 1999-01-28 10:06:38 +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
Nick Holloway 36a806cfae Internal PostScript printer driver improvements. 1999-01-24 18:59:58 +00:00
Ulrich Weigand 9cf066e32c Implemented KERNEL.621 (CBClientThunkSLEx). 1999-01-24 09:43:08 +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
Marcus Meissner 628e3e0f01 Implemented ExtractIconEx16, added some consts to ExtractIconEx*. 1999-01-23 11:56:39 +00:00
Alexandre Julliard 8da12c43a9 Group commit for recovery after disk crash.
See Changelog for changes WRT release 990110.
1999-01-17 16:55:11 +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
Richard A Lough 13cec5ebfa Put return value of LocalAlloc in CX too. 1999-01-01 19:51:25 +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
Marcus Meissner aaabb852b2 Include stuff even if not on __i386__ for debug defines. 1999-01-01 18:43:50 +00:00
Ulrich Weigand 89b93bf26b Implemented stub for InitThreadInput.
Use GetThreadQueue/GetFastQueue instead of GetTaskQueue.
1998-12-24 15:15:00 +00:00
Ulrich Weigand 61439d27fb Callout table (for KERNEL->USER calls) added.
Callbacks->CallPostAppMessageProc removed.
1998-12-24 15:12:20 +00:00
Ulrich Weigand be672fe587 Handle non-hardware X events correctly with native USER
(removed reference to MESSAGEQUEUE from KERNEL code).
Handle Expose events with native USER.
1998-12-24 14:59:53 +00:00
Andreas Mohr 869bc252e5 Make the DOSASPI part use the excellent DPMI RMCB implementation done
by Ove Kaaven, which makes the code _much_ cleaner.
1998-12-18 17:34:58 +00:00
François Gouget d604eb12ff First step to make it possible to call COM interfaces from C++ code in
Winelib.
1998-12-18 16:00:03 +00:00
Paul Quinn 1beaae5f9e Lots of new defines and stubs. 1998-12-15 15:38:36 +00:00
Andreas Mohr 7a6228d1e1 Fixed a bunch of compiler warnings. 1998-12-11 09:16:48 +00:00
Alexandre Julliard 0c0e3bebb8 Authors: Francis Beaudet <francis@macadamian.com>, Sylvain St-Germain <sylvain@macadamian.com>, Thuy Nguyen <thuy@macadamian.com>
Lots of new stubs.
1998-12-10 15:49:22 +00:00
Ulrich Weigand f6c4828c13 Cleaned up CreateSystemTimer interface for use with 32-bit callbacks.
(NOTE: 16-bit callbacks still don't work!)
1998-12-10 10:44:38 +00:00
Huw D M Davies 7d5fd8dc3a Fix for SetAbortProc16, stub for SetAbortProc32 and tidy up some other
printing functions.
1998-12-08 09:44:30 +00:00
Andreas Mohr a00b49f068 - Several kernel.spec return type mismatch fixes
- [GS]etSelectorBase Win32s offset support by Ulrich Weigand (thanks v.m. !!)
- Move AppToWine/WineToApp macros as W32S_APP2WINE etc. to ldt.h
- LocalNotify() basic support
- Fixes for local heap handling with heap handles created by Virtual*()
1998-12-07 10:48:09 +00:00
Ulrich Weigand 829445172e Renamed KERNEL.327 to HandleParamError (as in 'Undoc. Windows').
Fixed wrong ordinals/prototype for MapProcessHandle/GetModuleFileName32.
Added names for some undocumented exports.
1998-12-01 16:23:19 +00:00
Ulrich Weigand 23e9b04094 Implemented GlobalChangeLockCount (KERNEL.365). 1998-12-01 15:19:54 +00:00
Ulrich Weigand 416d39e7c4 Implemented Local32Info, stubs for Local32First/Next (KERNEL.444-446). 1998-12-01 14:45:37 +00:00
Ulrich Weigand 87dbaa9a05 Implemented GdiFreeResources (GDI.609). 1998-12-01 13:00:05 +00:00
Paul Quinn eede6b044e Implementation of ChildWindowFromPointEx functions. 1998-11-30 13:15:36 +00:00
Ulrich Weigand e62cbca0fb Removed some unnecessary FIXME outputs. 1998-11-26 15:06:47 +00:00
Ulrich Weigand b9eab15d5c Implemented KERNEL.602 and stub for KERNEL.490. 1998-11-26 14:58:11 +00:00
Ulrich Weigand 5443a7e658 Implementation of PE->NE resource conversion routines (KERNEL.615-618). 1998-11-25 17:57:26 +00:00
Ulrich Weigand 077da06e93 Bugfix: Bad jump generated in THUNK_AllocLSThunklet.
Bugfix: Forgot to convert segptr in AllocLSThunkletCallbackEx.
1998-11-24 20:43:59 +00:00
Eric Pouech 65ae1b5982 Some new stubs (midiStreamXXX functions, some mci functions, and
some mmio functions).
1998-11-24 18:46:46 +00:00
Andreas Mohr 1e360ebbf9 Added Win16 implementation for GetRegionData(). 1998-11-22 16:54:26 +00:00
Ian Schmidt 8150b52c36 Added stubs for two undocumented GDI routines, SetMagicColors and
SetSolidBrush. This allows Win98 native USER to start up.
1998-11-22 12:54:38 +00:00
Ulrich Weigand 431d1a0ce2 Moved X11 mouse cursor handling to the DISPLAY driver. 1998-11-14 18:57:47 +00:00
Ulrich Weigand afac2e476c Some fixes to Wine startup/termination sequence with native USER.
Do not call built-in USER signal handler when using native USER.
1998-11-14 18:45:25 +00:00
Ulrich Weigand ab635b211f Added stubs for several VxDs / interrupts. 1998-11-14 18:33:34 +00:00
Huw D M Davies 980992a3ca Should get win16drv AbortProc working. Hopefully. 1998-11-14 18:28:50 +00:00
Marcus Meissner 30c112e665 Speed up relay32, snoop16 and snoop32 include/excludes by doing them
just once at creation time.
1998-11-14 17:06:55 +00:00
Ulrich Weigand 2b067584e9 USER-side part of input event handling: contains implementation of
keybd_event and mouse_event, and USER-related code removed from
windows/event.c and windows/keyboard.c.
1998-11-08 12:26:36 +00:00
Ulrich Weigand bf844a4f38 Implementation of MOUSE.DRV (contains some code taken from
windows/event.c).
1998-11-08 12:21:35 +00:00