Commit Graph

1154 Commits

Author SHA1 Message Date
Vincent Béron ca26076164 Use proper macro for using IOKit includes. 2005-07-24 16:15:06 +00:00
Alexandre Julliard 8e21562903 Added small assembly wrapper to call entry points without having to
worry about their calling convention.
2005-07-22 19:50:13 +00:00
Paul Vriens b7fcecca3e Use current process if assigned process cannot be opened. 2005-07-22 19:48:16 +00:00
Vitaliy Margolen 1a7257e198 Fix IOCTL_CDROM_RAW_READ ioctl. 2005-07-20 10:28:27 +00:00
Kevin Koltzau 6873379991 Define 64bit PE structures. 2005-07-19 11:44:32 +00:00
Robert Shearman 91eaea53ae - Change the default user SID to match what was previously returned by
NtQueryInformationToken.
- Implement TokenUser for NtQueryInformationToken.
- Add a function for getting the user's registry path from a SID.
2005-07-18 13:22:55 +00:00
Dmitry Timoshkov 9bea3bfc96 Avoid unnecessary casts. 2005-07-15 11:44:46 +00:00
Dmitry Timoshkov 40dd77bf5a Make VIRTUAL_HandleFault return an NTSTATUS. 2005-07-15 11:43:09 +00:00
Dmitry Timoshkov 1dc18952ae Use SIZE_T type for size variables in NTDLL when appropriate. 2005-07-15 10:01:30 +00:00
Alexandre Julliard 3be8cb8b02 Moved initialization of the default user process parameters to ntdll. 2005-07-14 12:33:30 +00:00
Alexandre Julliard 9ad5628639 Moved the server start time to the init_thread request and got rid of
the init_process request (based on a patch by Felix Nawothnig).
2005-07-14 10:32:46 +00:00
Alexandre Julliard 11ad6a0ac4 Return the startup info size in the init_thread request, and allocate
the process parameters structure in ntdll instead of kernel.
2005-07-13 19:43:35 +00:00
Alexandre Julliard d3a6a16efd Initialize relay debugging earlier on now that the registry is loaded
by the server.
2005-07-13 14:23:06 +00:00
Alexandre Julliard 0424f38169 Already initialize the process in the first init_thread request
instead of waiting for the init_process request.
2005-07-13 12:12:43 +00:00
Alexandre Julliard 1ca3de36e8 Ignore high bit of spin count. 2005-07-13 11:38:08 +00:00
Aric Stewart 4b9f3728e0 Both wcschr and wcsrchr should be able to find the terminating
character.
2005-07-12 19:28:04 +00:00
Alexandre Julliard 4b0809e8a8 Use the unicode.h functions where possible. 2005-07-12 17:57:31 +00:00
Alexandre Julliard c33bd1b71b Use an SID instead of the user name for the path of the
HKEY_CURRENT_USER key (based on an old patch by Juan Lang).
2005-07-11 20:42:12 +00:00
Uwe Bonnes 38eb243bc1 Wait for the object multiple times until TIMEOUT is met. 2005-07-11 14:23:24 +00:00
Alexandre Julliard 30d06da60a Also look for the plain module specification in WINEDLLOVERRIDES for
modules that contain a path, for better consistency with the registry
entries.
2005-07-11 13:23:31 +00:00
Robert Shearman 38ba5fe0e0 - Make the value returned from HeapSize always match the requested
size passed into HeapAllocate/HeapReAllocate.
- Add a test for this behaviour.
2005-07-11 13:20:40 +00:00
Detlef Riekenberg 8eb811bf97 Fixed traces. 2005-07-10 17:44:37 +00:00
Gerald Pfeifer b8b15f3e6e Add a configure check for struct request_sense. Use this in
CDROM_ScsiPassThroughDir() and CDROM_ScsiPassThrough() to unbreak the
build on FreeBSD.
2005-07-10 17:42:46 +00:00
Alexandre Julliard bca9eecfb4 Use the same defaults for modules with and without an explicit path. 2005-07-07 18:26:11 +00:00
Francois Gouget c7dcf642ea Add trailing '\n's to ok() calls. 2005-07-06 15:46:47 +00:00
Felix Nawothnig db6a238f28 Replace stubs for information classes in NtQueryVirtualMemory and
NtQueryInformationProcess by more descriptive messages.
2005-07-05 14:05:58 +00:00
Paul Vriens 1943208eec Added some tests for other information classes.
Correct comment for test 0x3.
2005-07-05 11:46:53 +00:00
Paul Vriens d5820a0422 Improved stubs to show the correct behavior. 2005-07-05 11:46:37 +00:00
Alexandre Julliard 2e1f8fc8dd Some fixes for the Darwin build. 2005-07-03 11:24:54 +00:00
Mike McCormack b8fc783be2 Avoid warnings in generated tests by casting sizeof(x) to an int. 2005-07-03 11:23:30 +00:00
Vitaliy Margolen b2e74c3047 Load all dll sections no matter what attributes say. 2005-07-02 10:50:42 +00:00
Phil Krylov 0f6c0394bf Fixed dlls/ntdll/cdrom.c compilation in Darwin by adding HAVE_IOKit
detection to configure and defining SENSEBUFLEN as kSenseDefaultSize
(which is corresponding IOKit enum value).
2005-07-01 19:15:26 +00:00
Alexandre Julliard 47286920b6 Improve a bit the assembly generated for import thunks. 2005-07-01 15:49:39 +00:00
Gerald Pfeifer 643dc21738 Avoid unused variable warnings in CDROM_ScsiPassThroughDir() and
CDROM_ScsiPassThrough().
2005-06-30 10:19:26 +00:00
James Hawkins 9f96664dc4 - Fix calculation of generic pointers.
- Minor cleanups.
2005-06-29 20:14:16 +00:00
Mike Hearn 92a32db23e Fix GCC4 warning. 2005-06-29 19:18:54 +00:00
Dmitry Timoshkov cb7de15ebe A workaround for missing struct request_sense on FreeBSD. 2005-06-29 11:00:44 +00:00
James Hawkins b3738d3b12 Forward RtlAddAccess* to add_access_ace. 2005-06-28 10:54:29 +00:00
Dmitry Timoshkov ea64a36a44 Add a check for sg_io_hdr_t and (not tested) check for scsireq_t
presence.
2005-06-27 12:07:49 +00:00
Eric Pouech 6d68a03d4f Implemented OpenProcess on top of NtOpenProcess. 2005-06-27 11:12:11 +00:00
Stefan Huehner ffe53258aa Fix some -Wstrict-prototypes warnings. 2005-06-27 09:57:28 +00:00
Mike McCormack 91b398c3aa - use STATUS_TIMEOUT instead of WAIT_TIMEOUT
- add RTL_ to one more CRITICAL_SECTION_DEBUG
2005-06-25 18:31:29 +00:00
Mike McCormack 6c45b62679 - NtWaitForSingleObject doesn't return WAIT_FAILED.
- Use STATUS_WAIT_0 not WAIT_OBJECT_0.
2005-06-25 18:31:19 +00:00
Mike McCormack 51c583f9a9 Use NT status codes for exceptions. 2005-06-25 18:31:00 +00:00
Mike McCormack 6b636e3e7b Use RTL_CRITICAL_SECTION instead of CRITICAL_SECTION. 2005-06-25 18:00:57 +00:00
James Hawkins bf7596fd0c Implement RtlAddAuditAccessAce. 2005-06-24 12:20:15 +00:00
Alexandre Julliard b9a3f8fabf RtlGetFullPathName_U should remove the trailing dot on directory
names.
2005-06-24 11:55:28 +00:00
Paul Vriens 9a9f4cdab5 Correct the entries for [Nt|Zw]OpenSymbolicLinkObject. 2005-06-24 11:38:41 +00:00
Mike McCormack 261a8b5e9a Add prototype and fix RtlpNtCreateKey. 2005-06-24 11:34:31 +00:00
James Hawkins a0bfbb9801 Add stub implementation of RtlAddAuditAccessAce. 2005-06-23 11:03:30 +00:00