Commit graph

430 commits

Author SHA1 Message Date
Ulrich Weigand
979000e038 Call 16-bit instead of 32-bit UserSignalProc entry point.
Don't load USER32.DLL unless requested by the program.
Bugfix: Pass the correct thread ID to UserSignalProc.
1999-12-05 02:48:53 +00:00
Eric Pouech
cd841a4a86 Fixed crash when map fails. 1999-12-05 02:45:52 +00:00
Sergei Turchanov
d14aea2c64 Fix for GetBinaryType to return SCS_DOS_BINARY if extended signature
is unknown.
1999-12-04 04:17:37 +00:00
Ulrich Weigand
237e8e95b0 Fixed 32-bit module name handling to conform better to Win9x.
Removed OFSTRUCT passing during process creation sequence.
Bugfix: don't set exe_modref when LOAD_LIBRARY_AS_DATAFILE is set.
1999-12-04 04:04:58 +00:00
Niels Kristian Bech Jensen
1d5bc469cc Removed extra #include statements. 1999-11-21 02:14:36 +00:00
Ulrich Weigand
61206bd8a0 Simplified hInstance creation/handling.
Fixes problems with self-loaders creating DGROUP themselves.
1999-11-21 00:50:30 +00:00
Ulrich Weigand
eb94c7d2c4 Adapted to new register function handling. 1999-11-13 23:54:04 +00:00
Alexandre Julliard
ec7bb2391d Added support for CREATE_SUSPENDED flag in CreateProcess. 1999-11-12 03:35:25 +00:00
Ulrich Weigand
d024d5e942 Bugfix: LOAD_DLL_DEBUG_EVENT lpImageName parameter was incorrect. 1999-11-10 20:15:04 +00:00
Ulrich Weigand
e7957d6b48 Determine expected_version of PE buddies from the SubsystemVersion. 1999-11-10 19:45:56 +00:00
Marcus Meissner
38eae846bb Fixed the relocation hack in PE_InitTls. Added some more for the other
pointerfields in the TLS entry. (With testing help from Jussi
Jumppanen <jussij@zeusedit.com>).
1999-11-07 22:29:18 +00:00
Francois Gouget
edf3e434b0 Added ICMP DLL implementation. 1999-11-07 21:22:17 +00:00
Alexandre Julliard
e582158788 Fixed -debugmsg +server. 1999-11-04 02:51:24 +00:00
Eric Pouech
abe722778f Added built-in msacm.drv and midimap.drv drivers. 1999-10-31 02:23:49 +00:00
Patrik Stridvall
96336324cf - Added missing configuration #if:s and #includes:s.
- Minor configuration related changes.
1999-10-24 22:13:47 +00:00
Uwe Bonnes
6111ee6186 Return the size of the needed resource when buffer is NULL for LoadString(). 1999-10-24 20:39:21 +00:00
Uwe Bonnes
f959be9c97 Ignore wrong hInstance. 1999-10-23 19:47:55 +00:00
Jim Aston
031f4faaff Fixed compiling with STRICT. 1999-10-23 19:00:02 +00:00
Ove Kaaven
f45608f639 Winsock rewrite. Sockets are now proper win32 handles.
Internal structures are now really internal.
1999-10-23 16:53:34 +00:00
Ulrich Weigand
c715dea0b2 Bugfix: don't use GetModuleHandle16 in LoadModule16/NE_CreateProcess. 1999-10-23 14:21:00 +00:00
Ulrich Weigand
8a64b83eb6 Bugfix: don't call ExitProcess() before SYSLEVEL_Init(). 1999-10-23 14:15:33 +00:00
Eric Pouech
448b34a088 Correct filename for kernel module is KRNL386.EXE. 1999-10-13 16:02:40 +00:00
Alexandre Julliard
8c81b7439d Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Removes extraneous comparison of data pointed to by the relocation
offset when no relocation entries exist.
1999-10-13 15:47:38 +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
Marcus Meissner
a19862fc47 Small hack to check if we need to relocate the TLS directory or not
(some seem to need this pointer relocateable, some already do relocate
it by themselves).
1999-10-13 13:46:24 +00:00
Ulrich Weigand
8c32184814 Bugfix: *Don't* resolve PE imports if asked not to ... 1999-10-13 12:22:47 +00:00
Ulrich Weigand
2a343853ad Bugfix: When loading an executable module fails, don't perform module
cleanup before the corresponding task is destroyed.
1999-10-13 12:21:06 +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
Uwe Bonnes
20f7ef7355 Remember the allocated string to free it. 1999-09-28 13:08:36 +00:00
Ulrich Czekalla
e91d976e17 Fix integer based resource id assumption.
Add support for string based type ids.
1999-09-27 13:31:47 +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
Alexandre Julliard
94822425f0 Fixed memory allocation bug. 1999-09-22 15:18:52 +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
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
a2d5bb393a Bugfix: Improved GetCodeHandle16 / GetCodeInfo16. 1999-09-20 15:30:27 +00:00
Alexandre Julliard
891305b980 Removed __winelib flag. 1999-09-05 16:48:16 +00:00
Pierre Mageau
4ac8db783d Changed CopyImage to accept desiredX, desiredY and LR_COPYFROMRESOURCE.
CURSORICON_FindBestIcon changed to find the correct icon.
ImageList_ReplaceIcon now calls CopyImage internally.
Assign a value for the hIconSm CLASS member (using CopyImage).
1999-09-04 11:16:48 +00:00
Huw D M Davies
8bd7585311 winspool -> winspool.drv 1999-09-04 11:05:41 +00:00
Eric Pouech
c672c00f8b Do not remove .drv from filenames. 1999-09-03 12:36:20 +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
3df3e5372f Bugfix: restore STACK16FRAME fields in SwitchStackBack16. 1999-08-18 18:24:08 +00:00
Juergen Schmied
1e5f0fea9f New internal dll, exporting already existing path functions. 1999-08-15 17:03:37 +00:00
Michael Karcher
a21fe34596 Make sure we have a dgroup before patching prologs. 1999-08-15 14:16:42 +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
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
bdf83bc546 Removed SIGNAL_MaskAsyncEvents and cleaned up signal handling. 1999-08-01 14:54:16 +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