Commit Graph

103 Commits

Author SHA1 Message Date
Bernd Herd 4d05761958 Make sure hInstance is a proper global handle and not a selector
value.
2000-05-11 00:10:36 +00:00
Alexandre Julliard 180a088beb Moved PE header definitions to winnt.h where they belong. 2000-04-18 11:58:24 +00:00
Alexandre Julliard 227a0894d4 Removed a number of global handle allocations and critical section
initializations.
2000-04-08 21:06:06 +00:00
Patrik Stridvall 54fe8380a1 Fixed some issues reported by winapi_check. 2000-04-06 20:21:16 +00:00
Alexandre Julliard 9a0e28f153 Fixed a couple of file descriptor leaks.
Always call USER signal proc in the right context.
Cleaned up THREAD_Create.
2000-03-25 19:14:37 +00:00
Dimitrie O. Paun 9ad9636725 Removed most calls to xmalloc/xrealloc. 2000-03-19 14:29:50 +00:00
Patrik Stridvall 6cc47d4924 Removed a lot of unnecessary includes and fixed the compile errors. 2000-03-08 18:26:56 +00:00
Andreas Mohr f2df6a2afe Fixed second instance DGROUP loading. 2000-03-07 12:26:16 +00:00
Patrik Stridvall 0ee98cc39f Fixed ANSI C violations. 2000-02-26 13:17:55 +00:00
Andreas Mohr 4654c32122 It seems to be GetModuleFileName16 that checks exe version on whether
to return long or short paths, not GetModuleFileNameA.
2000-02-20 19:15:34 +00:00
Alexandre Julliard 67a24c8cfb Store the handle of the process exe file in the server.
Removed PROCESS_Initial().
2000-02-18 21:54:32 +00:00
Alexandre Julliard 90476d6b4a Moved SystemHeap allocations to the process heap. 2000-02-16 22:47:24 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Alexandre Julliard b2f6f0e7d2 Removed resource.h. 2000-02-03 01:54:36 +00:00
Andreas Mohr 8cd93514f0 - add some documentation items
- fix some spelling
- fix some warnings
2000-01-29 21:12:58 +00:00
Alexandre Julliard 74e4a28a34 Built-in DLLs resources are now specified in spec file.
Removed unnecessary flags in built-in DLLs tables.
2000-01-09 04:20:31 +00:00
Francois Gouget baa9bf9a23 Buffer overflows and strncpy fixes. 1999-12-27 05:24:06 +00:00
Ulrich Weigand f00830086d Bugfix: Added missing 'return' statement. 1999-12-11 23:00:58 +00:00
Andreas Mohr a2da86898a Added .rc file support for Win16 NE modules.
Moved display.c and mouse.c to separate dll directories.
1999-12-06 01:20:00 +00:00
Eric Pouech fe08849938 Added typedef to insure compilation on all gcc&egcs versions. 1999-12-05 23:04:00 +00:00
Ulrich Weigand 2149934a2d Bugfix: Call DllEntryPoint for *every* process that loads the DLL, not
just for the first one.
Bypass 32->16->32 transition when calling DllEntryPoint of built-in.
1999-12-05 02:50:38 +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
Ulrich Weigand e7957d6b48 Determine expected_version of PE buddies from the SubsystemVersion. 1999-11-10 19:45:56 +00:00
Ulrich Weigand c715dea0b2 Bugfix: don't use GetModuleHandle16 in LoadModule16/NE_CreateProcess. 1999-10-23 14:21:00 +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
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
Ulrich Weigand c44ab1f0fd Don't create thunk for task signal proc, call it directly. 1999-09-20 18:48:29 +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 7d8cfeb95c Removed IP_reg, SP_reg and FL_reg definitions to avoid potential
aliasing optimization problems.
1999-08-01 14:58:01 +00:00
Andreas Mohr 5a08a0288a Fixed the DSEG value in the SEGTABLEENTRY struct. 1999-07-31 13:11:22 +00:00
Ulrich Weigand 53477e49c5 GetModuleHandle16: treat Win32 modules correctly. 1999-07-30 17:55:44 +00:00
Uwe Bonnes e5266e8a44 Add WINAPI for EntryAddrProc. 1999-07-15 16:09:05 +00:00
Ulrich Weigand 5e59b1a5b4 Added support for 32-bit NE code segments. 1999-07-15 14:31:44 +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 7b81ed4a3c Improved behaviour of GetModuleHandle16 w.r.t dummy modules.
Don't try to call WEP of dummy modules in FreeLibrary16().
1999-07-10 11:42:30 +00:00
Marcus Meissner 79a3f80008 Made string compare case insensitive in GetModuleHandle16() as a
quick fix for WinWord 6.
1999-07-10 10:12:43 +00:00
Ulrich Weigand fbea530884 On NE process creation, move major part of NE EXE module loading and
NE instance creation into the child process.
1999-07-03 12:26:29 +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
Uwe Bonnes f1e1c3994c NE_LoadFileModule: Free module when NE_LoadDLLs fails. 1999-06-26 10:19:14 +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 85bcb2e152 Release Win16Lock during PROCESS_Create. 1999-06-12 06:41:16 +00:00
Alexandre Julliard bda3969d98 Removed process argument to PROCESS_CallUserSignalProc. 1999-05-24 15:01:05 +00:00
Alexandre Julliard d131a17ee0 Use the new debug functions to send debug events at appropriate places.
Pass the process creation flags to PROCESS_Create.
1999-05-23 20:02:04 +00:00