Commit Graph

1117 Commits

Author SHA1 Message Date
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
Robert Shearman f74b0adbca Move save_registry and unload_key server calls to ntdll. 2005-03-30 10:21:15 +00:00
James Hawkins 580ded65e7 - Implement NtLoadKey.
- Forward RegLoadKey to NtLoadKey.
2005-03-29 11:38:58 +00:00
Jacek Caban e594762ad3 Fixed ntdll:reg test on win9x. 2005-03-29 11:30:32 +00:00
Mike McCormack 6c42be25e7 Implement CreateMailslot using NtCreateMailslotFile. 2005-03-28 10:03:56 +00:00
Saulius Krasuckas cf25b683ba Fix an error code for ME. 2005-03-28 10:00:13 +00:00
Rein Klazes 3ef45c7805 Support relay tracing of functions with 18 arguments. 2005-03-24 15:08:37 +00:00
Francois Gouget 93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
C. Scott Ananian afa94e3a98 Teach VERSION_GetLinkedDLLVersion about Mingw32 applications. 2005-03-23 11:57:39 +00:00
Jakob Eriksson a4fe0d6003 More trace info. 2005-03-22 18:18:14 +00:00
Rustam Chernotkach 1283bd9354 Added support for ANAT (Anadyr Standard Time) to TZ_INFO. 2005-03-22 18:17:31 +00:00
Vincent Béron 0bdac8c0f9 Use "" for Windows includes in dlls, instead of <>. 2005-03-21 10:52:26 +00:00
Ivan Leo Puoti 627d2fa7a2 Improve parameter checking in NtCreateFile.
Add documentation for ea_buffer and ea_length.
2005-03-21 10:28:23 +00:00