Francois Gouget
baab789ce8
Replace the 'if (!cond) ; else code' construct with the standard 'do {
...
code } while (0)' construct combined with a regular 'if'.
2005-09-26 09:57:38 +00:00
Vijay Kiran Kamuju
bb53d096b1
Add MYT (Malaysian Time) and NOVST (Novosibirsk Summer Time).
2005-09-26 09:55:59 +00:00
Alexandre Julliard
9f859692f9
Replace DPRINTF by TRACE in a few places.
2005-09-25 15:23:21 +00:00
Alexandre Julliard
75c27e17b6
Defined a proper structure for debug channels.
...
Also put all the function pointers inside a structure and added
__wine_dbg_set_functions to change them instead of exporting the
pointers directly.
2005-09-23 10:52:07 +00:00
Alexandre Julliard
9f1c6de1ef
We are no longer generating .spec.c files.
2005-09-21 14:42:52 +00:00
Alexandre Julliard
5cb97d833a
Generate 16-bit spec files as assembly code too.
2005-09-21 14:23:54 +00:00
Alexandre Julliard
489c6b3865
Ignore relocations for unmapped pages.
2005-09-21 09:47:12 +00:00
Mike McCormack
c818a4e662
Fix "empty body in an if/else-statement" warnings.
2005-09-21 09:46:28 +00:00
Alexandre Julliard
2cf740619f
Fixed some trace format strings (reported by Gerald Pfeifer).
2005-09-18 11:15:16 +00:00
Alexandre Julliard
89024a63d3
Make the users of wine_call_from_32_regs save %eax so that we don't
...
need a special hack in the import thunk.
Added a get_pc_thunk_eax function to simplify the code a bit.
2005-09-18 11:13:54 +00:00
Alexandre Julliard
ebf7a5d408
Preliminary implementation of signal handling for x86-64.
2005-09-16 19:40:52 +00:00
Alexandre Julliard
06ea6e6e3f
Fixed a few pointer truncation bugs for 64-bit platforms.
2005-09-16 18:54:19 +00:00
Alexandre Julliard
cdf92942b1
Use the proper size for the cmsg_fd structure on 64-bit plaforms.
2005-09-16 18:52:47 +00:00
Alexandre Julliard
fb9cead92b
Support arbitrary sizes for the thread signal stack, and set the
...
default size from the MINSIGSTKSZ constant.
2005-09-14 10:36:58 +00:00
Alexandre Julliard
7c1925a0f3
Remove the 'L' suffix on a number of constants to avoid comparison
...
errors on 64-bit platforms.
2005-09-13 15:00:32 +00:00
Eric Pouech
ad0168967e
Implemented kernel32.GetThreadTimes on top of ntdll's equivalent
...
function.
2005-09-12 22:01:33 +00:00
Alexandre Julliard
261e376495
Fixed a number of pointer to integer conversions that wouldn't work
...
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Alexandre Julliard
884599112e
Use SIZE_T instead of ULONG for the size arguments of the virtual
...
memory functions.
2005-09-12 10:36:06 +00:00
Alexandre Julliard
f8ee161a1b
Fixed some traces to use the right printf format and avoid typecasts.
2005-09-12 10:30:05 +00:00
Alexandre Julliard
4c34d9386c
Specify 64-bit integers as double instead of long long in spec files
...
so that we get the correct number of arguments.
2005-09-09 15:05:01 +00:00
Alexandre Julliard
22a5332661
Added descriptions for a few more machine types.
2005-09-09 10:42:42 +00:00
Alexandre Julliard
20a1a203c6
Use a more portable scheme for storing the name of a critical
...
section.
2005-09-09 10:19:44 +00:00
Alexandre Julliard
c7d649483b
Define GET_IP for x86_64.
2005-09-08 19:17:04 +00:00
Alexandre Julliard
7873573738
Fixed a comment.
2005-09-08 12:42:51 +00:00
Alexandre Julliard
b4c69e0f12
Fix a file descriptor leak when opening the first file on a removable
...
device.
2005-09-08 11:04:34 +00:00
Eric Pouech
60cae6e289
Implemented kernel32:SetThreadPriority on top of ntdll's equivalent
...
functions.
2005-09-07 13:25:35 +00:00
Ivan Leo Puoti
f0db7ab06b
Added FSCTL_PIPE_LISTEN support.
2005-09-06 14:09:42 +00:00
Eric Pouech
b3badc7dd3
- rewrite kernel32:{Set|Get}PriorityClass on top of ntdll equivalent
...
- priority for process in wineserver is now the NTDLL form (no longer
the kernel32 one)
2005-09-06 10:25:11 +00:00
James Hawkins
ff77264a95
Correct third parameter of NtQueryInformationAtom.
2005-09-06 09:26:31 +00:00
Alexandre Julliard
883d3c52d3
Use explicit function pointers for pthread support instead of relying
...
on ELF symbol overriding.
2005-09-03 15:11:29 +00:00
Mike McCormack
b5bd4a101a
Fix gcc 4.0 warnings.
2005-09-02 14:47:36 +00:00
Alexandre Julliard
54e9e8745d
Fixed a file descriptor leak.
2005-09-02 12:31:35 +00:00
Alexandre Julliard
bba5423d0f
Uncomment out DisableThreadLibraryCalls in DllMain and add the
...
kernel32 imports that it requires.
2005-08-29 15:11:37 +00:00
Glenn Wurster
cee9a0f2a3
Make stack check work if stack is a small value.
2005-08-25 19:20:21 +00:00
Alexandre Julliard
b6b180a16d
Moved the implementation of spec file stubs to the winecrt0 library.
2005-08-25 15:27:44 +00:00
Alexandre Julliard
0f41df1681
Use FILE_GetDeviceInfo in NtMapViewOfSection to avoid having to fetch
...
the file descriptor twice.
2005-08-25 10:23:23 +00:00
Alexandre Julliard
f62f6e8fe1
Don't cache file descriptors open on removable devices.
2005-08-24 18:33:50 +00:00
Alexandre Julliard
bc22e2f03d
Moved the FileFsDeviceInformation query to a separate function.
2005-08-24 18:27:27 +00:00
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
Paul Vriens
db9396f68b
Stub implementations for ProcessVmCounters, ProcessTimes and
...
ProcessHandleCount.
Changed ProcessIoCounters to match windows behavior.
2005-06-20 11:42:02 +00:00
James Hawkins
e485f984bd
Implement RtlCopySecurityDescriptor.
2005-06-20 10:34:30 +00:00
Pierre d'Herbemont
cca2b04ab7
Move the (Mac OS X) IOKit headers to the top of the file to prevent a
...
compilation failure.
2005-06-20 10:31:04 +00:00
Alexandre Julliard
6e764fceda
Moved directory options to HKCU\Software\Wine.
2005-06-17 21:07:44 +00:00
Alexandre Julliard
7e39d1d13d
Moved version key to HKCU\Software\Wine.
2005-06-17 21:06:14 +00:00
Francois Gouget
b80fbbb85d
Remove an unneeded variable in test_query_timeofday().
...
Rename a variable to 'is_nt' to make its meaning clearer.
2005-06-17 20:55: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
811e966083
The TEB doesn't need execute permissions.
2005-06-17 12:15:44 +00:00
Mike McCormack
379946c9f8
Declare Nt directory functions.
2005-06-17 12:11:58 +00:00
Alexandre Julliard
190f845cb1
Make import thunks position-independent to avoid text relocations.
2005-06-16 20:51:50 +00:00
Alexandre Julliard
ffdc0332fa
Moved configuration keys to HKCU\Software\Wine\DllOverrides.
2005-06-16 16:13:11 +00:00
Stefan Huehner
712087700e
Fix some -Wstrict-prototypes warnings.
2005-06-16 15:52:44 +00:00
Alexandre Julliard
efcc2b83d8
Store a relative pointer for registry entry points to avoid some text
...
relocations.
2005-06-16 11:04:41 +00:00
Mike McCormack
7da043f869
Add/fix more NT native API declarations.
2005-06-16 10:46:11 +00:00
Mike McCormack
65ad7da1f7
Fix some declaration and write string warnings.
2005-06-16 10:45:25 +00:00
Alexandre Julliard
8d5b7908f2
Use the DEFINE_REGS_ENTRYPOINT macro to define register functions
...
instead of doing it by hand.
2005-06-16 09:59:12 +00:00
Paul Vriens
e77306365b
ProcessName should be without the path.
2005-06-16 09:44:39 +00:00
Paul Vriens
62441145b6
W2K3 returns STATUS_INVALID_HANDLE instead of STATUS_ACCESS_VIOLATION.
2005-06-16 09:43:59 +00:00
Paul Vriens
7691aca10c
Only exact buffer size gives STATUS_SUCCESS.
2005-06-15 10:19:34 +00:00
Alexandre Julliard
302cd456c3
Moved debugging config options to HKCU\Software\Wine\Debug.
2005-06-14 19:23:00 +00:00
Ivan Leo Puoti
eacd06264e
Reimplement IOCTL_SCSI_PASS_THROUGH_DIRECT and
...
IOCTL_SCSI_PASS_THROUGH on top of the linux scsi driver.
2005-06-14 12:25:41 +00:00
Paul Vriens
93f887250a
Return STATUS_INVALID_INFO_CLASS for non-implemented classes.
...
Return STATUS_ACCESS_VIOLATION if no buffer given.
Added tests for ProcessBasicInformation.
2005-06-14 12:25:02 +00:00
Mike McCormack
0c9cb1dcee
Declare port functions and fix prototypes.
2005-06-14 11:43:20 +00:00
Alexandre Julliard
2e4bca9db5
Added magic comments to all Wine-specific registry accesses to make
...
them easier to grep.
2005-06-13 18:56:00 +00:00
Paul Vriens
5e5008502e
Fixed size of our SYSTEM_TIMEOFDAY_INFORMATION struct.
...
Fixed return codes and ReturnLength/buffer for
SystemTimeOfDayInformation.
Added tests for SystemTimeOfDayInformation.
2005-06-13 11:34:56 +00:00
James Hawkins
d27d5b0a26
Implement RtlAbsoluteToSelfRelativeSD.
2005-06-13 11:34:02 +00:00
Mike McCormack
c8091b3761
Fix warnings in tests, remove pointless comments.
2005-06-13 10:03:33 +00:00
Mike McCormack
d838385b38
Add and fix function prototypes.
2005-06-13 10:03:18 +00:00
James Hawkins
00c32239b4
Remove stub status.
...
Check for correct revision value.
2005-06-12 11:07:37 +00:00
James Hawkins
f3392ac814
Add RtlAnsiCharToUnicodeChar definition.
...
Correct stub status of RtlAnsiCharToUnicodeChar.
2005-06-12 11:07:25 +00:00
Eric Kohl
a9983c8d16
Implement RtlAdjustPrivilege.
2005-06-12 10:44:01 +00:00
Paul Vriens
50d1e4f0bf
Fixed ReturnLength of SystemCpuInformation.
...
Added first test for SystemCpuInformation.
2005-06-10 19:52:32 +00:00
Mike McCormack
950e5e626c
Dependency fixes for winternl.h.
2005-06-10 19:33:47 +00:00
James Hawkins
89bba4a255
Implement RtlAnsiCharToUnicodeChar.
2005-06-10 19:30:23 +00:00
Paul Vriens
2b7094e4d4
Reduce our buffer by 1 SYSTEM_THREAD_INFORMATION per process.
...
Minimize some calculations.
2005-06-09 20:33:45 +00:00
Paul Vriens
c5e9809242
Added test for SystemProcessInformation.
2005-06-09 10:03:25 +00:00
Robert Shearman
0c5118144a
- Don't free the fileio object because it will be freed anyway in
...
fileio_terminate on error.
- Print out statuses in hex, rather than decimal.
2005-06-09 09:45:42 +00:00
Robert Shearman
e51dd36453
Implement overlapped I/O with named pipes.
2005-06-08 19:11:46 +00:00
Paul Vriens
fbc7a40273
Fixed typo.
...
Zero the thread information before use.
2005-06-07 20:01:48 +00:00
Alexandre Julliard
bd000a0203
Removed some unnecessary inclusions of thread.h
2005-06-06 20:13:08 +00:00
Alexandre Julliard
ab29aa2126
Moved the ntdll per-thread data out of the TEB into a private
...
structure stored in TEB.SystemReserved2.
2005-06-06 20:04:33 +00:00
Felix Nawothnig
d8c5960ce1
Make SYSTEM_THREAD_INFORMATION.pszProcessName a UNICODE_STRING.
2005-06-06 15:42:08 +00:00
Mike Hearn
17049acd68
Delete version sniffing logic.
2005-06-06 10:06:48 +00:00
Alexandre Julliard
6d07a9c39c
Moved the server part of the ExitThread functionality to ntdll.
2005-06-05 18:38:48 +00:00
Alexandre Julliard
9b57a950d7
Avoid accessing the htask16 TEB field from ntdll.
2005-06-05 18:24:35 +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
Paul Vriens
eb6559f910
Change SYSTEM_PROCESS_INFORMATION to reflect W2K/WinXP/W2K3 structure.
2005-06-03 11:24:43 +00:00
Detlef Riekenberg
d9033a49da
Mark links to dir with FILE_ATTRIBUTE_REPARSE_POINT, so modern
...
applications can use this additional information.
2005-05-31 13:25:38 +00:00
Alexandre Julliard
16885f09a5
Fixed RtlIsTextUnicode prototype, and made it properly take into
...
account the results of the tests to determine the return value.
2005-05-31 13:24:44 +00:00
Alexandre Julliard
5bc90f2540
Authors: Evan Deaubl <wine@warpedview.com>, Robert Shearman <rob@codeweavers.com>
...
- Implement RtlGetControlSecurityDescriptor.
- Fix NtAccessCheck so it works with relative SECURITY_DESCRIPTORs.
2005-05-31 09:32:12 +00:00
Francois Gouget
883413faf6
On some systems (linux 2.6.8) AFS fails to set d_reclen to 0 or does
...
not support VFAT_IOCTL_READDIR_BOTH but returns 0 (success) anyway. So
set d_reclen to 65535 (an impossible value) before the ioctl() and
check it afterwards to work around this bug.
2005-05-30 11:33:42 +00:00
Richard Cohen
980f1d675e
Fix some obsolete comments
2005-05-27 19:26:34 +00:00
Uwe Bonnes
271a8f99be
Call fileio_terminate for FILE_AsyncWriteService.
2005-05-26 16:07:53 +00:00
Robert Shearman
4ad93416a8
Implement NtAccessCheck.
2005-05-24 12:32:18 +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
Mike McCormack
cc4ed1322a
Use LIST_FOR_EACH_ENTRY in virtual memory code.
2005-05-23 09:51:02 +00:00
Gerald Pfeifer
4135b43387
Avoid compiler warning in parse_mount_entries().
2005-05-20 19:24:07 +00:00
Juan Lang
f23e8fec10
Implement NtQueryVolumeInformationFile for type
...
FileFsDeviceInformation on FreeBSD.
2005-05-20 19:16:37 +00:00
Ivan Leo Puoti
2964d8bc52
Rename SystemDriverInformation to SystemModuleInformation.
2005-05-20 09:40:59 +00:00
Juan Lang
f935b51423
Implement get_default_drive_device for FreeBSD.
2005-05-19 11:12:27 +00:00
Alexandre Julliard
e18ca98857
Removed last dependencies on 16-bit headers from ntdll.
2005-05-18 18:37:30 +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
Dimi Paun
366b753a50
Use the more idiomatic form of iterating through the list.
2005-05-18 09:45:53 +00:00
Dimi Paun
88fe1ff962
Make the argument comments out-of-line.
2005-05-18 09:45:12 +00:00
Alexandre Julliard
e4412a618c
Removed the special casing of kernel32 and ntdll for the TEB
...
definition in winternl.h.
2005-05-16 17:52:10 +00:00
Robert Shearman
efbea2e2bc
Implement RegNotifyChangeKeyValue on top of NtNotifyChangeKey.
2005-05-16 14:08:11 +00:00
Vincent Béron
a01bd27aa1
Correct arg count for 3 functions in ntdll.spec and unicows.spec.
2005-05-16 08:45:46 +00:00
Robert Lunnon
bfec8c229d
Implement get_default_drive_device for Solaris.
2005-05-14 18:48:18 +00:00
Alexandre Julliard
d876893fc1
Store the 16-bit stack pointer in the WOW32Reserved TEB field.
2005-05-14 12:16:46 +00:00
Alexandre Julliard
110c8dc54a
Fixed a number of atom test failures.
2005-05-14 11:11:21 +00:00
Mike Hearn
5037202554
Make unimplemented function message a bit prettier.
2005-05-13 13:56:47 +00:00
Paul Vriens
f9cdab4dff
Added (stubbed) SystemDriverInformation and
...
SystemInterruptInformation.
2005-05-13 13:55:51 +00:00
Gabriel Gambetta
fd62fcf0ef
Added UYT to TZ_INFO.
2005-05-12 09:54:39 +00:00
Eric Pouech
b168f478be
Some tests for NTDLL atom support (by György 'Nog' Jeney).
2005-05-11 15:56:09 +00:00
Eric Pouech
26c9b074c7
Implemented NTDLL atom support.
2005-05-11 15:55:49 +00:00
Mike McCormack
fb7dbb627e
ZwQueryTimer should forward to NtQueryTimer.
2005-05-11 12:02:06 +00:00
Paul Vriens
7464134919
Added SystemHandleInformation tests.
...
Removed HeapAlloc in test_basic.
Renamed test_basic to test_query_basic.
2005-05-10 13:16:36 +00:00
Paul Vriens
d5f92eb50c
Added (stubbed) SystemHandleInformation.
...
Sorted the list.
2005-05-10 13:15:58 +00:00
Juan Lang
5e1b41854c
Added Irish Summer Time.
2005-05-10 08:25:30 +00:00
Alexandre Julliard
34fa35dc99
Added rules for building import libraries in the individual dll
...
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard
26050b49d5
Prefix the internal name of all register functions with __regs_ for
...
better consistency and to make automated checking possible.
2005-05-07 18:10:30 +00:00
Francois Gouget
ee7f5eb9a3
Add the 'Western European Summer Time' (WEST) timezone (reported by
...
José Melo).
2005-05-07 14:50:56 +00:00
Alexandre Julliard
d62356aa1e
Added rules to build import libraries in the individual dll makefiles.
...
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Robert Lunnon
9e40b70d90
Implement NtQueryVolumeInformation for Solaris.
2005-05-07 12:16:21 +00:00
Francois Gouget
821d4c4645
Fix nativeapi.pm so it knows about AC_HEADER_STAT().
...
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Francois Gouget
f5c9da6860
Assorted spelling fixes.
2005-05-06 15:44:31 +00:00
Ivan Leo Puoti
a760181be0
Set win2k3 service pack number to 1.
2005-05-05 09:49:24 +00:00
Emmanuel Maillard
21f95cf761
- Fix NTDLL_wait_for_multiple_objects call in usr1_handler.
...
- Fix an error due to "invalid lvalue in assignment" with gcc 4 on
Darwin 8.0.
2005-05-05 09:49:13 +00:00
Ivan Wong
bf8f93d915
Added Hong Kong Standard Time (HKT).
2005-05-04 09:45:48 +00:00
Alexandre Julliard
86be9f20da
Removed the MESSAGEQUEUE structure, and store the corresponding
...
information directly in the TEB, in the Win32ClientInfo field.
2005-04-27 08:18:20 +00:00
Ivan Leo Puoti
26d2b8bf5e
Add parameter checking to NtReadFile/NtWriteFile.
2005-04-25 16:02:16 +00:00
Alexandre Julliard
240d4ee9e1
Remove a few more instances of strncpy.
2005-04-25 15:51:45 +00:00
Mike McCormack
f92fff66a2
Implemented NtSignalAndWaitForSingleObject.
2005-04-24 17:35:52 +00:00
Robert Shearman
d2ea92d14e
- Clean up well-known privileges.
...
- Implement checking tokens for privileges in the server.
- Implement NtPrivilegeCheck.
2005-04-22 21:17:15 +00:00
Alexandre Julliard
b965457c4a
Get rid of the remaining calls to strncpyW, and remove that function
...
from wine/unicode.h.
2005-04-21 17:18:50 +00:00
Paul Vriens
08ae0d09bb
Remove THREAD_INFO struct.
...
Rename THREADINFO into SYSTEM_THREAD_INFORMATION.
2005-04-21 17:14:22 +00:00
Alexandre Julliard
3b843d3e7d
Remove all traces of the VIRTUAL_SetFaultHandler support.
2005-04-20 16:26:23 +00:00
Alexandre Julliard
3b5875e35f
Replace the wineprefixcreate --update option by a --wait option, and
...
make the non-wait behavior the default.
2005-04-20 13:12:14 +00:00
Troy Rollo
95fe6abcb7
Fix SEGVs in NtCreateSection and NtMapViewOfSection.
2005-04-19 10:31:28 +00:00
Francois Gouget
4527aae24f
Assorted spelling fixes.
2005-04-19 09:49:38 +00:00
Eric Pouech
0a9f98b9bd
Removed the no longer user APC_ASYNC kind of APC.
2005-04-18 15:38:44 +00:00
Eric Pouech
5a2591d96d
- moved named pipe creation to ntdll
...
- server now handles the named pipe flags as the NTDLL values (not the
KERNEL32 ones)
- named pipes in server now use the async IO mechanism for
connect/wait ops
2005-04-18 14:57:04 +00:00
Benjamin Cutler
2813da13a3
Add semi-stub for NtPowerInformation(SystemPowerCapabilities, ...).
2005-04-18 09:52:32 +00:00
Mike McCormack
58a4fb9ef0
Declare and define a stub for NtSignalAndWaitForSingleObject.
2005-04-16 11:19:27 +00:00
Benjamin Cutler
c31a7e98f1
- Correct args for NtPowerInformation.
...
- Add stub for NtInitiatePowerAction.
2005-04-16 10:45:51 +00:00
Paul Vriens
a9cbabc03c
Start of unit tests for *Info* functions.
...
Check needed length regardless of given length.
Return STATUS_INVALID_INFO_CLASS for non-implemented classes.
Return STATUS_ACCESS_VIOLATION if no buffer given.
2005-04-15 14:12:54 +00:00
Paul Vriens
b4db6533a0
Flags should be or-ed.
2005-04-11 14:21:33 +00:00
Mike McCormack
016206c1e1
Move mailslot set and query info implementation to ntdll.
2005-04-11 14:20:49 +00:00
Mike McCormack
2ab6a775bd
Implement mailslots.
2005-03-30 19:02:15 +00:00
Francois Gouget
6b10c324c5
Assorted spelling fixes.
2005-03-30 17:08:31 +00:00
Mike McCormack
9a99a39e0b
Stub implementation of RtlAbsoluteToSelfRelativeSD.
2005-03-30 10:22:51 +00:00