Commit Graph

327 Commits

Author SHA1 Message Date
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
Ulrich Weigand 2f4bd6617f Unify startup sequence for Wine and WineLib. 1999-07-24 12:20:24 +00:00
Ulrich Weigand 8dbffe70fb Removed MODULE_GetWndProcEntry16().
Use 32-bit window procedures in COMMDLG instead.
1999-07-24 10:27:58 +00:00
Ulrich Weigand b4860a8cff Always retrieve Callout routines using GetProcAddress(). 1999-07-24 10:15:55 +00:00
Ulrich Weigand 22d2c527b8 Bugfix: Reverted CallTo16 routines to STDCALL convention. 1999-07-23 19:27:36 +00:00
Ulrich Weigand d65b73bb54 GlobalSmartPageUnlock() stub added. 1999-07-15 14:58:48 +00:00
Ulrich Weigand 4b32fd0d43 Use position-independent code in assembly glue when building .so.
Include if1632/ and graphics/win16drv/ into WineLib.
Move miscemu/emulate.c into dlls/win87em/.
1999-07-15 14:51:40 +00:00
Ulrich Weigand cfa977d9da Fixed bugs introduced by 'register' and 'return' function changes. 1999-07-12 13:39:10 +00:00
Alexandre Julliard 4220b29be9 Take advantage of the new registers saved in the STACK16FRAME to turn
some 'register' functions into normal functions.
Removed the few remaining 'return' functions to simplify relay
handling.
1999-07-11 17:20:01 +00:00
Ulrich Weigand 3dff7bb842 Modularized CallFrom/To16 routines. Adapted dependent routines,
16-bit snoop/relay debugging, and make rules.
1999-07-11 13:58:31 +00:00
Marcus Meissner 623c0d6f94 some small include fixes, some checks for NULL ptrs,
loader/elf.c: fixed the "lib" insertion
crtdll: added fsopen()
dinput: return that we are attached.
1999-07-03 16:01:42 +00:00
Alexandre Julliard 617955db88 Changed CONTEXT into CONTEXT86 everywhere we really want an i386
context.
Added #ifdef __i386__ around accesses to 386 registers in the generic
CONTEXT structure.
1999-06-26 18:40:24 +00:00
Andreas Mohr 102e1f46e2 Kind of implemented OleMetaFilePictFromIconAndLabel. 1999-06-26 10:28:53 +00:00
Andreas Mohr 1597d735ef Added COMPOBJ.DllEntryPoint (Acrobat3 16bit needs it). 1999-06-22 19:10:52 +00:00
Alexandre Julliard 0a860a01f9 Merged THDB and TEB structures.
Made SetLastError(), GetCurrentThreadId() and PROCESS_Current() inline.
1999-06-22 11:43:42 +00:00
Alexandre Julliard a099a555c3 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-06-12 15:45:58 +00:00
Patrik Stridvall fdcfdb9a6d Added missing/wrong includes. 1999-06-12 14:55:11 +00:00
Ulrich Weigand 5cec819d11 Removed Callback.CallTaskRescheduleProc(). 1999-06-06 14:52:05 +00:00
Ulrich Weigand 7b5fcc722f Fixed behaviour of Alloc..ThunkletCallback[Ex] for NULL target. 1999-06-05 11:49:52 +00:00
Eric Pouech 6f28722b9a Workaroung gcc 2.7.2.x sig 11 issue. 1999-06-05 08:49:05 +00:00
Eric Pouech bfe8c8c808 fixed builtin mmsystem.dll init sequence 1999-05-24 08:25:09 +00:00
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