Alexandre Julliard
38502f70eb
Added a separate set_handle_cached_fd request instead of abusing
...
set_handle_info for that.
2005-08-23 18:43:50 +00:00
Alexandre Julliard
0f254d0356
Removed a few internal functions that are no longer exported on
...
Windows.
2005-08-19 10:21:17 +00:00
Alexandre Julliard
a5156dcf40
Added a stub for NtAlertResumeThread.
2005-08-18 11:47:17 +00:00
Ivan Leo Puoti
aab12f5f7c
Implement FSCTL_PIPE_DISCONNECT in NtFsControlFile and make
...
DisconnectNamedPipe call it.
2005-08-18 10:59:26 +00:00
Vitaliy Margolen
d27c7135ef
Add trace to IOCTL_CDROM_RAW_READ.
2005-08-18 10:49:04 +00:00
Francois Gouget
03ede20086
Fix a couple of MSVC signed/unsigned warnings.
2005-08-17 09:53:39 +00:00
Alexandre Julliard
4886c176f4
There is a registry key for the service pack version (spotted by
...
Vitaliy Margolen).
2005-08-16 16:13:42 +00:00
Ivan Leo Puoti
9f3af964c7
Improve NtCreateNamedPipe trace.
2005-08-16 15:57:59 +00:00
Alexandre Julliard
4749dd3eaa
Fetch the version information from the standard Windows keys if not
...
specified otherwise.
2005-08-16 11:16:10 +00:00
Ivan Leo Puoti
dfb887dc9f
NtCreateNamedPipeFile is no longer a stub, so fix TRACE() call.
2005-08-16 11:13:21 +00:00
Alexandre Julliard
7721b267f5
Fixed some confusion over whether HEAP_MIN_BLOCK_SIZE includes the
...
arena headers of not.
Free list sizes are constant so there's no need to store them in the
heap structure.
2005-08-15 20:49:47 +00:00
Alexandre Julliard
f356dd541a
Switch the default version to win2k.
2005-08-15 14:52:37 +00:00
Alexandre Julliard
4ebd2fc0ff
Better handling of conflicting section information between
...
SizeOfRawData and VirtualSize.
2005-08-15 14:50:06 +00:00
Alexandre Julliard
03c3b4e7e0
Converted the process heap list to a standard list.
2005-08-12 18:25:16 +00:00
Francois Gouget
bcd56fe0e5
Assorted spelling fixes.
2005-08-12 18:22:06 +00:00
Alexandre Julliard
c50597c94d
Converted the heap free lists to standard lists.
2005-08-12 16:05:46 +00:00
Alexandre Julliard
b480a3c544
Removed a redundant and possibly wrong warning.
2005-08-12 16:02:42 +00:00
Alexandre Julliard
8c375c7fd4
Don't map data beyond the virtual size of a section.
2005-08-12 11:21:45 +00:00
Francois Gouget
1b4e18fee7
Define WIN32_NO_STATUS so we don't get 'duplicate macro' errors when
...
compiling with the PSDK and MSVC.
Add some types that are not defined by the PSDK.
2005-08-11 17:04:07 +00:00
Alexandre Julliard
5617b716e7
Added a wine_unix_to_nt_file_name function to do proper pathname
...
conversions instead of relying on GetFullPathName hacks.
2005-08-11 10:41:26 +00:00
Francois Gouget
46940ac99e
Remove unneeded wine/library.h include.
...
Use lstrlenW() instead of the Wine-specific strlenW(). This also lets
us get rid of the wine/unicode.h include.
Define the InitializeObjectAttributes() macro if not using Wine's
winternl.h header.
2005-08-11 10:29:03 +00:00
Francois Gouget
023bd5358a
Define RTL_HANDLE and RTL_HANDLE_TABLE if not using Wine's winternl.h
...
header. Fixes the compilation with the PSDK.
2005-08-10 15:00:32 +00:00
Alexandre Julliard
4fd5bf40a2
Implemented RtlGetNtProductType.
2005-08-10 14:48:45 +00:00
Alexandre Julliard
915aebb852
Moved the version initialization to ntdll.
...
Properly set the version fields in the PEB.
Removed some no longer used structures.
2005-08-10 13:12:27 +00:00
Alexandre Julliard
31dd4af57d
Don't call process attach notification during process shutdown.
...
Make sure we don't insert a module in the same list twice.
2005-08-09 20:45:46 +00:00
Alexandre Julliard
475f2336cc
Specify a base address for kernel and ntdll.
2005-08-09 11:19:01 +00:00
Alexandre Julliard
9f32a5c865
Added a VIRTUAL_alloc_teb function to allocate TEBs while making sure
...
they don't end up above the address space limit.
2005-08-09 10:43:47 +00:00
Tobias Gruetzmacher
cdd75bd413
Reverse the direction of raw SCSI commands.
2005-08-08 11:02:32 +00:00
Alexandre Julliard
49b7fdcfc0
Removed the broken mmap64 configure check, and moved the
...
_FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
need the define include it.
2005-08-03 21:25:10 +00:00
Alexandre Julliard
5e787ba521
Hack to make the main heap critical section have a proper debug info
...
structure.
2005-08-03 16:03:15 +00:00
Vitaliy Margolen
fa9c730cf6
Implement IOCTL_SCSI_GET_INQUIRY_DATA.
2005-08-03 10:55:12 +00:00
Alexandre Julliard
760ff4338d
Removed a noisy trace.
2005-08-02 14:42:51 +00:00
Alexandre Julliard
55ad6cc520
Implemented a few trivial ntdll functions that have been added in
...
recent Windows versions.
2005-08-02 11:38:51 +00:00
Alexandre Julliard
4de75b5a6f
Use the new RtlExitUserThread function instead of exporting
...
wine_server_exit_thread.
2005-08-02 09:55:40 +00:00
Alexandre Julliard
7be607f7c0
Added commented out stubs for a bunch of new functions.
2005-08-01 14:59:26 +00:00
Vitaliy Margolen
0cb33a9d51
Fixed IOCTL_SCSI_GET_ADDRESS.
2005-08-01 14:50:59 +00:00
Alexandre Julliard
e0097da1de
Added names for a bunch of status values.
2005-07-28 18:40:45 +00:00
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
Paul Vriens
138934129c
NT4 doesn't support ProcessIoCounters.
2005-06-23 09:47:31 +00:00
Paul Vriens
51d04fa9ef
Return STATUS_OBJECT_NAME_NOT_FOUND in NtOpenSymbolicLinkObject (until
...
implemented).
2005-06-23 09:47:05 +00:00
Alexandre Julliard
aa0b9aac0d
Sort entry points alphabetically.
2005-06-22 18:38:23 +00:00
Mike McCormack
05f53afd5a
Declare RtlGUIDFromString and RtlStringFromGUID.
2005-06-22 12:00:57 +00:00
Alexandre Julliard
ddb002437b
Don't require execute permission on the process heap.
2005-06-21 20:54:31 +00:00
Alexandre Julliard
f724399f60
Add PAGE_GUARD flag to the returned protection of guard pages.
2005-06-21 20:23:02 +00:00
Paul Vriens
fbf0aeaa43
Change ProcessBasicInformation to the same behavior as the rest.
...
Use KERNEL_USER_TIMES for ProcessTimes.
Add tests for vm, io, times and handlecount info classes.
Fixes for -Wstrict-prototypes warnings.
2005-06-21 20:22:01 +00:00
Alexandre Julliard
60b3d30f9b
Don't require execute permission for thread stacks.
2005-06-21 09:57:53 +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
78911f34d9
- avoid winternl.h depending on winbase.h
...
- define RTL versions of TIME_ZONE_INFORMATION and SYSTEMTIME
2005-06-20 18:37:17 +00:00
Stefan Huehner
ac6f562b52
Fix more -Wstrict-prototypes warnings.
2005-06-20 14:18:03 +00:00
Robert Shearman
4bba21643c
Add support for impersonating a token.
2005-06-20 13:18:38 +00:00
Robert Shearman
9cb94b276f
Implement RtlImpersonateSelf, RevertToSelf and MapGenericMask.
2005-06-20 11:44:45 +00:00