Commit Graph

312 Commits

Author SHA1 Message Date
Eric Pouech d2344fbbcd Fix loading of modules: now search key is module's filename, not
module's name.
1999-10-13 15:59:26 +00:00
Marcus Meissner 142d94e5b0 WPROCS.ENTRYADDRPROC needs to return something in CX too (fixes
BLINKER selfextracting executables).
1999-10-13 15:46:10 +00:00
Uwe Bonnes 22d4b0afdd Use LoadString16 for FormatMessage16 and handle
FORMAT_MESSAGE_ALLOCATE_BUFFER flag.
1999-10-13 14:00:09 +00:00
Ulrich Weigand 79077f3253 Bugfix: Don't call GetVersionExA too early, to avoid breaking
automatic emulated Windows version detection.
1999-09-29 12:16:16 +00:00
Marcus Meissner 97a99e51ea Added stub for WMMMIDIRUNONCE called by midimap.drv. 1999-09-29 12:12:49 +00:00
Patrik Stridvall 8276f696fc Fixed some of the issues reported by winapi-check. 1999-09-23 11:48:02 +00:00
Eric Pouech fa5f006d51 All headers (wave and midi functions) are now seen as segptr.
Added stub for joyGetPosEx16().
1999-09-22 16:46:44 +00:00
Ulrich Weigand 24dd5d9e4f Keyboard/mouse event proc thunk creation moved out of if1632/thunk.c. 1999-09-20 18:49:02 +00:00
Ulrich Weigand c44ab1f0fd Don't create thunk for task signal proc, call it directly. 1999-09-20 18:48:29 +00:00
Ulrich Weigand f86aab84ba DC hook proc thunk management simplified. 1999-09-20 18:47:14 +00:00
Ulrich Weigand f4edf2378e Windows hook proc thunk management simplified. 1999-09-20 18:45:00 +00:00
Ulrich Weigand 2dec1ba403 Modified THUNK_Alloc so as to avoid 32->16->32 calling sequences.
Removed persistent thunk creation routines.
1999-09-20 18:43:52 +00:00
Ulrich Weigand f52e109dea Set 'expected_version' of built-in and dummy modules according to
emulated Windows version.
1999-09-20 15:37:25 +00:00
Ulrich Weigand 3967b0912e Make CallTo16 return stub segment owned by KERNEL. 1999-09-20 15:33:01 +00:00
Ulrich Weigand 2a722f498a Moved bulk of OLE implementation to dlls/ subdirectories. 1999-09-19 18:36:53 +00:00
Ulrich Weigand dc6f327a8d Bugfix: Declare CALL32_CBClient[Ex] without WINAPI. 1999-09-19 12:11:02 +00:00
Huw D M Davies 304d9a4737 Change interfaces to THUNK_Alloc/Free slightly and make them non-static.
Remove relays for win16drv from CallBack table, instead use build to
generate them directly in graphics/win16drv/prtdrv.c.
If Printer AbortProc is 16bit then allocate thunk and store that as a
32bit proc in DC.  Setting of abortprocs now done in the correct place
(i.e. not in the driver).
1999-09-13 15:15:45 +00:00
Huw D M Davies fd24362356 Winspool DocumentProperties and DeviceCapabilities should now work on
native 16 bit drivers.
1999-09-10 14:38:19 +00:00
Ulrich Weigand aa3f71148c Fixed bug in CBClient routines by storing the SEGPTR in the global
table and translating it on every use.
1999-09-10 14:02:28 +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
Ulrich Weigand 8336cc9e51 Adapted to glue code generation changes. 1999-08-15 12:45:53 +00:00
Ulrich Weigand c50a1d05de Adapted to new-style Wine thunks.
Removed some now unnecessary function pointers.
1999-08-15 12:45:01 +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
Alexandre Julliard 15de615276 Got rid of dsprintf and related macros. 1999-08-04 12:22:42 +00:00
Ulrich Weigand 6c6da674ef Moved various DLLs to dlls/ 1999-08-04 09:49:49 +00:00
Alexandre Julliard 7d8cfeb95c Removed IP_reg, SP_reg and FL_reg definitions to avoid potential
aliasing optimization problems.
1999-08-01 14:58:01 +00:00
Alexandre Julliard a1089c59b9 Made stack manipulation macros into inline functions.
Changed a few accesses to context registers to avoid potential
aliasing optimization problems.
1999-08-01 12:51:55 +00:00
Patrik Stridvall b8684a266b Fixed some of the issues reported by winapi-check. 1999-07-31 17:32:05 +00:00
Ulrich Weigand 081daf7d21 Implemented KERNEL.447 (WIN32_OldYield16). 1999-07-31 17:27:38 +00:00
Andreas Mohr 95fd3cd43b Implemented CoRevokeClassObject stub needed by Acrobat 3 16 bit. 1999-07-30 17:56:38 +00:00
Ulrich Weigand 98c3053e6e Added FinalUserInit16/FinalGdiInit16 stubs.
Call out to FinalUserInit in MAIN_EmulatorRun.
1999-07-27 17:10:06 +00:00
Ulrich Weigand 98b5f77fc2 Added IsBadFlatReadWritePtr16(). 1999-07-27 17:09:14 +00:00
Ulrich Weigand cb310a3ce0 More gcc bug workarounds. 1999-07-27 16:10:04 +00:00
Ulrich Weigand daed93ee99 Moved .spec files to corresponding dlls/ directory. 1999-07-25 13:14:13 +00:00
Ulrich Weigand b5151d003d Relay code for Win16 register functions converts arguments.
New 'interrupt' keyword added (for Win16 interrupt handlers).
Adapted .spec files and implementations of register routines.
1999-07-25 11:27:36 +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
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