Commit Graph

1164 Commits

Author SHA1 Message Date
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