Alexandre Julliard
c7a51eec43
Only create the 16-bit dummy module when we need really it.
2003-05-20 02:32:26 +00:00
Alexandre Julliard
adb532903c
Rewrote module TLS support and moved it to ntdll.
2003-05-14 19:51:14 +00:00
Alexandre Julliard
d9bab57477
Added support for calling the TLS callback functions.
2003-05-08 04:13:26 +00:00
Alexandre Julliard
0412cc55d2
Rewrote most of the import fixup code to avoid doing redundant work
...
for every entry point. Moved it all to dlls/ntdll/loader.c.
Various optimizations in the other loader routines.
2003-04-05 05:16:11 +00:00
Alexandre Julliard
39f73ddeaa
Merged PE_InitDLL into MODULE_InitDLL.
...
Fixed a few traces.
2003-04-04 19:50:17 +00:00
Eric Pouech
69dc0d93d5
Removed no longer needed MODREF.find_export field.
2003-03-21 21:27:16 +00:00
Eric Pouech
7b91b82680
Rewrote mapping of module into memory using only NTDLL APIs.
2003-03-21 00:46:08 +00:00
Eric Pouech
19e050eb6f
Moved WINE_MODREF.flags to WINE_MODREF.ldr.Flags, and make use of the
...
same flags values as Win2000.
2003-03-20 23:40:08 +00:00
Eric Pouech
f94c8b85b9
Move some fields (refCount, tls_index and module) from WINE_MODREF to
...
LDR_MODULE.
2003-03-20 22:05:26 +00:00
Eric Pouech
32872b1a57
- implementation of LdrLoadDll out of loader/module.c
...
- in impacted functions, ensure that we only use ntdll functions
- for internal loading, start using NTDLL style for error reporting
- making use of new LdrLoadDll
2003-03-14 05:01:20 +00:00
Eric Pouech
f3a73ef7af
- implemented LdrGetProcedureAddress and made use of it for
...
GetProcAddress
- implemented LdrGetDllHandle and made use of it in GetModuleHandle
- removed MODULE_DllThreadDetach from loader/module.c (should have
been removed in a previous patch)
2003-03-06 23:41:37 +00:00
Alexandre Julliard
ac13d2f47e
Print thread ids in traces with only 4 digits now that they are small
...
integers.
2003-02-18 23:29:47 +00:00
Rein Klazes
33be954e62
In PE_fixup_imports report "module file not found" only in case of a
...
"file not found" error. Otherwise report failure and error number.
2003-02-11 22:21:24 +00:00
Alexandre Julliard
bcf41605d2
Debug channels cleanup.
2002-12-17 21:09:50 +00:00
Andrew John Hughes
ed800c69c8
Build ntdll with -DSTRICT.
2002-11-21 03:45:01 +00:00
Alexandre Julliard
613ead7f0f
Fixed some handle conversions in prevision of void* handles.
2002-10-04 00:27:10 +00:00
Alexandre Julliard
a5dea216cc
Implemented the RtlImage* functions, and use them to replace the
...
PE_HEADER macro.
2002-08-09 19:57:38 +00:00
Alexandre Julliard
29f265fab1
Set the correct permissions on the PE image sections.
2002-07-29 23:59:26 +00:00
Alexandre Julliard
891d23e57f
Added support for ordinal hint in PE_FindExportedFunction.
2002-07-24 19:04:41 +00:00
Alexandre Julliard
958732d21c
Fixed warnings.
2002-07-02 02:09:39 +00:00
Alexandre Julliard
bc524e92d2
Avoid loading programs into the DOS memory area.
2002-06-20 22:54:26 +00:00
Alexandre Julliard
2ad28d62d7
Don't go through the export table if we are not tracing anything.
2002-06-13 21:54:12 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Andreas Mohr
01c8ec3a9c
Spelling/error messages fixes.
2002-04-02 19:47:30 +00:00
Alexandre Julliard
aeb566052f
Correctly fill parent pid, module size and module name in process and
...
module snapshots. Based on patches by Eric Pouech and Andreas Mohr.
2002-03-22 00:21:23 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Patrik Stridvall
57e5784c21
Move __stdcall/__cdecl to the right place.
2002-02-02 18:42:11 +00:00
Alexandre Julliard
cd3afa895b
LOAD_LIBRARY_AS_DATAFILE modules must be mapped like normal files, not
...
like PE images. Fixed resource loading to handle that.
2002-01-31 23:32:57 +00:00
Andrew Lewycky
ffc9df2d0c
do_relocations: process relocation blocks with a VirtualAddress of 0,
...
stop once SizeOfBlock == 0.
2001-11-30 23:08:02 +00:00
Alexandre Julliard
9caa71eef4
Redesign of the server communication protocol to allow arbitrary sized
...
data to be exchanged.
Split request and reply structures to make backwards compatibility
easier.
Moved many console functions to dlls/kernel, added code page support,
changed a few requests to behave properly with the new protocol.
2001-11-30 18:46:42 +00:00
Dmitry Timoshkov
6b6596a1e3
Fixed packing and layout of many system structures.
2001-11-23 18:44:43 +00:00
Alexandre Julliard
ac2e4f1e3d
Don't keep main exe and dlls handles open when the file is on
...
removable media.
2001-10-25 19:52:12 +00:00
Andreas Mohr
f359895daf
Yet another documentation/message text patch.
2001-10-02 17:49:20 +00:00
Bill Medland
65fc1c92d4
Added LOAD_WITH_ALTERED_SEARCH_PATH support to LoadLibraryEx.
2001-08-24 21:13:02 +00:00
Andreas Mohr
da920ee9b9
Spelling fixes.
2001-08-09 21:16:55 +00:00
Alexandre Julliard
37e9503ae8
Moved server.h to include/wine.
2001-07-19 00:39:09 +00:00
Alexandre Julliard
ca4fa36584
Don't call SNOOP_RegisterDLL on builtins.
2001-07-12 02:46:55 +00:00
Andreas Mohr
9abd5530c8
Make snoop code take ordinal base into account.
2001-05-24 18:43:16 +00:00
Francois Gouget
e17d1a3649
Print the tid in the first column when +tid is specified.
2001-05-08 00:13:38 +00:00
Alexandre Julliard
671da9f08e
Disable DONT_RESOLVE_DLL_REFERENCES for builtin dlls.
2001-03-21 03:38:44 +00:00
Alexandre Julliard
67a749999a
New set of macros for server calls; makes requests without variable
...
part somewhat faster.
2001-02-27 02:09:16 +00:00
Jon Griffiths
4ab1558d8a
- Remove <string.h> from winnt.h.
...
- ntdll: complete crt functions, prevent libc imports, fix sscanf.
2001-01-22 02:17:29 +00:00
Alexandre Julliard
3556e1f87d
Display the importing dll in the 0xdeadbeef message.
2001-01-20 02:51:19 +00:00
François Gouget
da2b6a9f26
Fixed some HFILE vs. HANDLE mismatches.
...
If not used the last parameter of CreateFile must be 0, not -1.
2001-01-06 01:29:18 +00:00
Alexandre Julliard
8081e5a1e5
Added handle_t type to server interface so that we can make handles
...
pointers later on.
Always use 0 to signal invalid handle in server requests.
2001-01-05 04:08:07 +00:00
François Gouget
807b04513a
Changed the type of Function to PDWORD as on Windows.
2000-12-15 20:53:39 +00:00
Alexandre Julliard
becb9a353b
Moved all Wine internal definitions out of process.h.
2000-12-11 03:48:15 +00:00
Andreas Mohr
8c91b080b7
Better error message for forwards.
2000-12-05 21:11:35 +00:00
Alexandre Julliard
ef57e18f99
Removed some unnecessary includes.
2000-12-01 21:32:55 +00:00
Alexandre Julliard
256ac22dee
Display the name of the function when import failed.
2000-11-27 22:03:46 +00:00