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
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