Mike McCormack
|
6b636e3e7b
|
Use RTL_CRITICAL_SECTION instead of CRITICAL_SECTION.
|
2005-06-25 18:00:57 +00:00 |
|
Mike McCormack
|
04f9f1b066
|
Don't include winbase.h or winerror.h when not necessary.
|
2005-06-21 09:52:40 +00:00 |
|
Mike McCormack
|
5b2d5fd758
|
Use HANDLE instead of HKEY in the NT API.
|
2005-06-17 13:58:33 +00:00 |
|
Alexandre Julliard
|
73f6718134
|
Allocate the system view for builtin modules earlier in
load_builtin_callback so that we also create one for the main
executable.
|
2005-06-05 18:22:02 +00:00 |
|
Alexandre Julliard
|
7016b99972
|
Moved the loaddll trace into the load_builtin_dll function so that it
gets printed even when we don't get the expected so file.
|
2005-05-23 10:33:34 +00:00 |
|
Alexandre Julliard
|
b3e0a032ce
|
Moved entry point definitions from module.h to kernel16_private.h.
|
2005-05-18 18:27:54 +00:00 |
|
Alexandre Julliard
|
4de9cfd1cd
|
Moved import tracing to a separate channel so that +module traces
don't contain too much noise.
|
2005-05-18 09:51:46 +00:00 |
|
Vincent Béron
|
0bdac8c0f9
|
Use "" for Windows includes in dlls, instead of <>.
|
2005-03-21 10:52:26 +00:00 |
|
Dmitry Timoshkov
|
75b93ff1aa
|
Match OVERLAPPED structure to the SDK definition.
|
2005-03-17 19:00:08 +00:00 |
|
Dmitry Timoshkov
|
0497af09a7
|
Match RaiseException and EXCEPTION_RECORD to SDK definitions.
|
2005-02-24 13:15:36 +00:00 |
|
Ivan Leo Puoti
|
d3edafe1e2
|
Replace GetCurrentProcess() with NtCurrentProcess() in ntdll.
|
2005-02-22 19:33:50 +00:00 |
|
Ivan Leo Puoti
|
bfef6208a2
|
Added NtLoadDriver and NtUnloadDriver stubs.
|
2005-01-24 12:49:53 +00:00 |
|
Mike Hearn
|
bef1336667
|
Give a more informative error when a DLL fails to initialize during
startup.
|
2005-01-11 16:01:31 +00:00 |
|
Alexandre Julliard
|
d5088668de
|
Generate stub entries on the fly for missing entry points instead of
returning a deadbeef pointer.
|
2004-12-14 20:03:23 +00:00 |
|
Alexandre Julliard
|
b98c2e3847
|
Append .dll extension in all cases (spotted by Mike Hearn).
|
2004-11-23 14:03:49 +00:00 |
|
Alexandre Julliard
|
fac7a5ab8b
|
Free the memory view before we unload a builtin dll to avoid a race
condition.
|
2004-11-06 03:54:23 +00:00 |
|
Robert Shearman
|
2050591370
|
Fix NtAllocateVirtualMemory declaration and fix users of the
function.
|
2004-10-11 20:59:06 +00:00 |
|
Mike McCormack
|
d80eb97b29
|
Use FILE_SHARE_DELETE when loading modules, as running an exe that's
going to be deleted should work.
|
2004-09-15 18:02:49 +00:00 |
|
Alexandre Julliard
|
60f0439ba6
|
Make relay and snooping work for LoadLibrary+GetProcAddress sequence
(based on a patch by Dmitry Timoshkov).
|
2004-08-02 22:25:01 +00:00 |
|
Alexandre Julliard
|
9f58ee709d
|
Set the system directory in ntdll as soon as we have determined it.
|
2004-07-15 22:07:21 +00:00 |
|
Filip Navara
|
fc51760f48
|
Unprotect Import Address Table while filling it.
|
2004-06-22 02:07:47 +00:00 |
|
Alexandre Julliard
|
fd9792bdc9
|
Added support for the IMAGE_FILE_LARGE_ADDRESS_AWARE flag.
|
2004-06-18 00:26:57 +00:00 |
|
Eric Pouech
|
db52588754
|
Const correctness.
|
2004-06-15 00:47:00 +00:00 |
|
Alexandre Julliard
|
ae42aad2ae
|
Initialize ntdll debugging earlier on so that we can trace the server
startup too.
|
2004-05-05 05:56:37 +00:00 |
|
Alexandre Julliard
|
174e2a6464
|
Reimplemented GetFileAttributesW, SetFileAttributesW and SetFileTime
using the corresponding ntdll functionality.
|
2004-04-20 00:36:29 +00:00 |
|
Alexandre Julliard
|
e792fb74ba
|
Implemented NtCreatelFile using the new symlink scheme.
Use NtCreateFile in the loader, and get rid of the CreateFileW upcall
hack.
|
2004-04-12 23:31:09 +00:00 |
|
Alexandre Julliard
|
670711ef25
|
Handle file mappings on removable media entirely inside ntdll.
|
2004-04-06 23:13:47 +00:00 |
|
Alexandre Julliard
|
a86a022256
|
Added workaround for broken dlls that modify ebx in their entry point
(reported by Christian Costa).
|
2004-03-19 02:07:16 +00:00 |
|
Mike Hearn
|
a54e3216c3
|
- Add debug SnoopFromInclude/SnoopFromExclude options.
- Correct TRACE debug channel usage in SNOOP_SetupDLL.
- Refactor check_relay_from_relay.
|
2004-03-16 03:10:07 +00:00 |
|
Alexandre Julliard
|
fe8ead56a8
|
Get rid of ntdll_get_process_heap and ntdll_get_process_pmts by using
standard APIs instead.
|
2004-03-12 01:59:35 +00:00 |
|
Alexandre Julliard
|
fc8b376a55
|
Return right away from import_dll when a dll is not found to avoid
displaying many useless function errors.
|
2004-02-24 01:25:03 +00:00 |
|
Alexandre Julliard
|
f19c9e7cdd
|
Get pointer to CreateFileW earlier on during startup.
Make sure we don't crash when loading a dll before the modref for the
main exe has been created.
|
2004-02-07 01:11:54 +00:00 |
|
Alexandre Julliard
|
3604824262
|
If supported by the linker, prevent the ELF loader from calling the
dll constructors at load time and call them from the dll entry point
instead.
|
2004-01-08 03:36:53 +00:00 |
|
Mike Hearn
|
5f5034ff3b
|
Print exe name when initialization fails.
|
2003-12-31 00:11:48 +00:00 |
|
Alexandre Julliard
|
0382aead65
|
Removed no longer used extra space allocated in the modref structure.
|
2003-12-03 20:28:41 +00:00 |
|
Alexandre Julliard
|
402b79a1e8
|
Porting fixes.
|
2003-11-27 00:59:36 +00:00 |
|
Alexandre Julliard
|
cba157e998
|
Better support for loading exe files as libraries.
Make sure kernel32 and ntdll have a full path name even though they
are loaded before we know the system dir.
|
2003-11-25 05:28:57 +00:00 |
|
Alexandre Julliard
|
16b4411669
|
Removed MODULE_GetLoadOrderA.
|
2003-11-25 01:03:04 +00:00 |
|
Alexandre Julliard
|
f9be2f3d21
|
Removed some unnecessary includes.
|
2003-11-17 20:31:29 +00:00 |
|
Alexandre Julliard
|
7924f421e9
|
Allocate the TEB and signal stack separately from the main stack.
Dynamically allocate the initial TEB too so that it is properly
page-aligned.
|
2003-11-04 04:50:18 +00:00 |
|
Alexandre Julliard
|
a062677a95
|
Allocate a memory view for builtin dlls so that VirtualQuery returns
something sensible.
|
2003-11-03 22:23:09 +00:00 |
|
Alexandre Julliard
|
8f1b861e27
|
Repaired relay debugging for kernel and ntdll (spotted by Uwe
Bonnes).
|
2003-10-28 00:25:32 +00:00 |
|
Alexandre Julliard
|
f9df57d94d
|
Call the application entry point from kernel32, some apps depend on
that.
|
2003-10-24 00:32:36 +00:00 |
|
Gerald Pfeifer
|
9b4b21b7b0
|
Fix function pointer variable declaration in __wine_process_init().
|
2003-10-14 05:19:24 +00:00 |
|
Alexandre Julliard
|
e55d5937ac
|
Set or clear the BeingDebugged flag in the PEB when a debugger is
attached to or detached from a process.
Don't send exception events to the server unless a debugger is
present.
|
2003-10-14 01:30:42 +00:00 |
|
Alexandre Julliard
|
a438ebc509
|
Fixed importing of dlls with no exports (reported by Warren Baird).
Don't crash on an empty load order specification (reported by Maxime
Bellengé).
Try to avoid crashing when an import is missing for a builtin dll.
|
2003-10-10 23:28:51 +00:00 |
|
Alexandre Julliard
|
410e6b7b39
|
Changed the init code to make libwine load only ntdll and transfer
control to it, and then have ntdll load kernel32 using the normal
loader mechanisms.
Get rid of BUILTIN32_LoadExeModule.
|
2003-10-10 00:12:17 +00:00 |
|
Alexandre Julliard
|
953849f2fc
|
Added hack to call CreateFileW through a pointer so that we don't need
to link to kernel functions.
Commented out SMB support in NtReadFile for now.
|
2003-10-08 03:51:31 +00:00 |
|
Alexandre Julliard
|
af192f83b6
|
Store a "removable" flag instead of the full drive type in the server
file object; this way we don't need to use GetDriveTypeW in the loader
code.
Make sure we always have a valid builtin_load_info pointer.
|
2003-10-08 00:25:32 +00:00 |
|
Alexandre Julliard
|
146afcc98c
|
Removed references to GetSystemDirectoryW.
Optimized module lookup a bit.
Keep track of the modref pointer across builtin dll loads to avoid
having to look it up by name afterwards.
|
2003-10-07 22:56:34 +00:00 |
|