Commit Graph

740 Commits

Author SHA1 Message Date
Jacek Caban 5eb3035374 ntdll: Added KeyCachedInformation key info class implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-12 22:17:02 +09:00
Sebastian Lackner 163b3f1e38 ntdll/tests: Add tests for multiple registry notifications per key.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:27 +09:00
Jacek Caban 7bd852c6ce ntdll: Added NtNotifyChangeMultipleKeys implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 23:16:45 +09:00
Jacek Caban e0d51609a1 server: Notify parent key when subkey is created.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 23:16:44 +09:00
Jacek Caban deba2faf60 server: Reset event in set_registry_notification.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 23:16:44 +09:00
Jacek Caban 7d66a01fc2 ntdll: Return STATUS_PENDING in NtNotifyChangeKey if async notify is performed.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 23:16:44 +09:00
Jacek Caban a0d0d0dd0a ntdll: Fixed argument order in NtNotifyChangeKey.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-06 23:20:50 +09:00
Jacek Caban 4269423ee4 ntdll: Added NtOpenKeyEx implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-05 20:22:37 +09:00
Thomas Faller c96684c3b2 ntdll/tests: Fix use of uninitialized value.
Signed-off-by: Thomas Faller <tfaller1@gmx.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 13:27:34 +09:00
Sebastian Lackner 7c46763ea7 ntdll: Implement RtlIsCriticalSectionLocked[ByThread].
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-11 13:47:34 +09:00
Sebastian Lackner b028f2c076 ntdll/tests: Add tests for RtlIsCriticalSectionLocked[ByThread].
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-11 13:47:23 +09:00
Sebastian Lackner 381c034be3 ntdll: Wait_thread_proc should not terminate on user APC.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-09 20:56:27 +09:00
Sebastian Lackner e37cdbbc2c ntdll/tests: Add Sleep to make threadpool wait tests more reliable.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-09 20:56:17 +09:00
Sebastian Lackner b8315e87f1 ntdll/tests: Add tests for calling NtReadFile/NtWriteFile on directory.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 20:17:05 +09:00
Sebastian Lackner 0b1204d870 ntdll/tests: Add tests for RtlRegisterWait.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-07 13:27:23 +09:00
Sebastian Lackner f97a18f8c0 ntdll/tests: Limit number of pool threads to avoid random test failures.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-07 13:27:23 +09:00
Sebastian Lackner 53c8345c6d ntdll/tests: Fix test failures on Windows 10.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-07 13:27:23 +09:00
Michael Müller 00d966cd3a ntdll: Return STATUS_OBJECT_NAME_INVALID in wine_nt_to_unix_file_name for prefix-only paths.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-02 18:11:31 +09:00
Michael Müller 24ea49b6ab ntdll/tests: Add additional tests for NtQueryFullAttributesFile.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-02 18:11:31 +09:00
André Hentschel c6b888f16f ntdll/tests: Simplify the RtlRandom test. 2015-09-25 20:59:55 +02:00
Lauri Kenttä b3d51fb78b ntdll/tests: Fix error message. 2015-09-15 17:00:32 +09:00
Sebastian Lackner ec851647e2 server: Implement open_file_object for rootdir pointing to file object. 2015-08-21 14:39:21 +09:00
Sebastian Lackner 84d2610aaf ntdll/tests: Add additional tests for calling NtOpenFile with file object as RootDirectory. 2015-08-21 14:36:12 +09:00
Sebastian Lackner 1f2a443cb4 server: Implement support for FileLinkInformation class in NtSetInformationFile. 2015-08-21 14:36:02 +09:00
Qian Hong 57d443824a ntdll/tests: Add tests for FileLinkInformation class.
Based on the FileRenameInformation tests by Sebastian Lackner.
2015-08-21 14:35:18 +09:00
Sebastian Lackner 857d436784 ntdll: Implement FileRenameInformation support. 2015-08-20 18:34:13 +09:00
Sebastian Lackner 6899eade5d ntdll/tests: Add additional tests for FileRenameInformation. 2015-08-20 18:33:45 +09:00
Jianqiu Zhang a5b58144a5 ntdll/tests: Add basic tests for FileRenameInformation. 2015-08-20 18:33:39 +09:00
Erich E. Hoover 6955a298f4 server: Do not permit FileDispositionInformation to delete a file without write access. 2015-08-19 20:19:58 +09:00
Sebastian Lackner 0fabfe7d6b server: Add support for setting file disposition information.
Based on a patch by Dmitry Timoshkov.
2015-08-19 20:19:57 +09:00
Andrey Gusev 5cdcd4493f Assorted spelling and typos fixes. 2015-08-18 15:00:13 +09:00
André Hentschel c4cd981a61 ntdll/tests: Add ARM64 support for map protection tests. 2015-08-17 16:59:32 +09:00
Sebastian Lackner 905bf79337 server: Store correct entry point for first thread. 2015-07-30 11:37:15 +02:00
Sebastian Lackner 22f0611cf9 ntdll/tests: Add tests for ThreadQuerySetWin32StartAddress info class. 2015-07-29 21:44:03 +02:00
Sebastian Lackner c774a8c3ae ntdll/tests: Add basic tests for RtlQueueWorkItem. 2015-07-28 09:54:05 +02:00
Sebastian Lackner db1e8a686e ntdll/tests: Add tests for RtlDecompressFragment. 2015-07-10 14:54:57 +09:00
Sebastian Lackner 0e7bd45571 ntdll/tests: Add tests for RtlDecompressBuffer. 2015-07-10 14:54:54 +09:00
Sebastian Lackner e3503799d9 ntdll: Implement RtlDecompressFragment.
Based on a patch by Michael Müller.
2015-07-10 14:54:50 +09:00
Sebastian Lackner 577332f612 ntdll: Implement semi-stub for RtlGetCompressionWorkSpaceSize. 2015-07-09 17:34:48 +09:00
Sebastian Lackner ee899dc55e ntdll/tests: Add tests for RtlGetCompressionWorkSpaceSize. 2015-07-09 17:34:46 +09:00
Sebastian Lackner 275424e939 ntdll: Implement semi-stub for LZNT1 compression in RtlCompressBuffer.
This stub implementation just emits uncompressed blocks with
appropriate chunk headers.
2015-07-09 17:34:41 +09:00
Sebastian Lackner 025ea11dc4 ntdll/tests: Add tests for RtlCompressBuffer. 2015-07-09 17:34:37 +09:00
Sebastian Lackner 634bbed3fb ntdll/tests: Add threadpool wait tests with more than 63 objects. 2015-07-06 14:49:39 +09:00
Sebastian Lackner 553ae488d0 ntdll/tests: Add basic tests for threadpool wait objects. 2015-07-06 14:49:39 +09:00
Sebastian Lackner 9f71015a99 ntdll/tests: Add tests for threadpool timer merging. 2015-07-03 13:06:50 +09:00
Sebastian Lackner aefb85ddab ntdll/tests: Add basic tests for threadpool timer functions. 2015-07-03 13:06:45 +09:00
Sebastian Lackner 66c46e6960 ntdll/tests: Add tests for TpDisassociateCallback. 2015-07-03 13:06:21 +09:00
Sebastian Lackner 3dc1c6442a ntdll/tests: Add tests for TpCallbackReleaseSemaphoreOnCompletion and finalization callback. 2015-07-02 14:53:56 +09:00
Sebastian Lackner eb974bcd7a ntdll: Implement instance objects and the TpCallbackMayRunLong function.
The instance is marked as long-running even if TpCallbackMayRunLong fails,
a second call will lead to an exception on Windows.
2015-07-02 14:53:02 +09:00
Sebastian Lackner e8d4b40386 ntdll/tests: Add tests for threadpool group cancel callback. 2015-07-02 14:52:32 +09:00
Sebastian Lackner b75d7f064c ntdll/tests: Add threadpool scheduler tests for work items. 2015-07-01 19:18:16 +09:00
Sebastian Lackner 17cd2a8b24 ntdll/tests: Add basic tests for threadpool work items. 2015-07-01 19:18:16 +09:00
Sebastian Lackner 3606b47139 ntdll/tests: Add tests for TpAllocCleanupGroup and related functions. 2015-07-01 19:18:15 +09:00
Sebastian Lackner db9fc9141e ntdll: Implement TpSimpleTryPost and basic threadpool infrastructure. 2015-07-01 19:18:13 +09:00
André Hentschel 8d4917e865 include: Add IMAGE_LOAD_CONFIG_DIRECTORY64 definition. 2015-06-24 15:37:02 +09:00
Sebastian Lackner bdef5c5508 ntdll/tests: Add tests for info struct size for FileDispositionInformation. 2015-06-11 15:32:30 +09:00
Qian Hong ef3ed04cdc server: Fix type name of directory file. 2015-06-05 14:32:27 +09:00
Qian Hong f208c50cc0 server: Fix type name of File. 2015-06-05 14:32:23 +09:00
Qian Hong bdc223ad39 server: Fix type name of IoCompletion. 2015-06-05 14:32:15 +09:00
Qian Hong 7a7fc1e604 ntdll/tests: Add a few more ObjectTypeInformation tests. 2015-06-05 14:32:11 +09:00
Qian Hong 71080cc081 ntdll: Implemenent ObjectTypeInformation class support in NtQueryObject. 2015-06-05 14:32:01 +09:00
Sebastian Lackner d6a044c86a ntdll/tests: Don't call lstrlenW on non-null-terminated buffer. 2015-06-05 14:11:10 +09:00
Jactry Zeng c9e1b6fb57 ntdll/tests: Test opening a directory with NULL ObjectName. 2015-05-27 17:13:08 +09:00
Alexandre Julliard 950c82094b ntdll: Add support for file I/O on device files. 2015-05-21 17:38:04 +09:00
Alexandre Julliard c0ac2afb19 server: Create the null device and its symlink. 2015-05-21 17:24:34 +09:00
Matteo Bruni cb5c92f33c ntdll/tests: Add a test for filename casing with NtQueryDirectoryFile(). 2015-05-20 17:32:19 +09:00
Alexandre Julliard 871ab51233 ntdll/tests: Use the correct flags for NtOpenFile. 2015-05-18 17:50:22 +09:00
Sebastian Lackner b3913c4f77 ntdll/tests: Add tests for accessing \\Device\\Null. 2015-05-18 17:42:46 +09:00
Huw Davies d6d703b592 ntdll/tests: Fix incorrect prototype. 2015-05-15 21:58:06 +09:00
Huw Davies 14c53a5863 ntdll/tests: Wait for pending file operations to complete. 2015-05-14 20:06:06 +09:00
Qian Hong ac86cb9eba ntdll/tests: Fixed typo. 2015-05-08 14:54:52 +09:00
Alexandre Julliard 193667ecd7 ntdll: Fix handling of async cancellation for directory changes. 2015-05-07 16:02:26 +09:00
Alexandre Julliard 38b7c8839c ntdll: Don't run user APCs in NtCancelIoFile. 2015-05-07 15:38:57 +09:00
Sebastian Lackner e40e5661ee ntdll/tests: Add/remove todo_wine to avoid test failures. 2015-05-07 14:55:25 +09:00
Thomas Faber 3d9693fa61 ntdll/tests: Avoid printing an unterminated string (DPH). 2015-04-24 14:30:04 +09:00
Jianqiu Zhang 4c41f2bb52 ntdll/tests: Add test for FileFsFullSizeInformation. 2015-04-23 20:43:19 +09:00
Thomas Faber bb781b4468 ntdll/tests: Ensure 4-byte alignment for ATOM_BASIC_INFORMATION. 2015-04-22 14:00:48 +09:00
Francois Gouget f505e6fb4a Assorted spelling fixes. 2015-03-19 21:54:14 +09:00
Francois Gouget 872e96fc4e ntdll/tests: Remove an unneeded NONAMELESSSTRUCT directive. 2015-03-16 15:04:52 +09:00
Sebastian Lackner 2daca626d4 ntdll: Implement [Nt|Zw]QueryLicenseValue. 2015-03-13 21:53:25 +09:00
Sebastian Lackner b282a937e2 ntdll/tests: Add tests for TpSimpleTryPost function. 2015-03-03 17:11:25 +09:00
Sebastian Lackner d336f1fe68 ntdll/tests: Add tests for NtQueryLicenseKey. 2015-03-03 17:10:37 +09:00
Michael Stefaniuc 52e665a3bd ntdll/tests: Remove unused assigments (PVS-Studio). 2015-01-19 14:31:25 +01:00
Qian Hong d45bda3014 ntdll: Fixed buffer size checking for ProcessWow64Information on 64bit in NtQueryInformationProcess. 2015-01-15 11:39:42 +01:00
Sebastian Lackner 275ee4b376 ntdll: Implement Rtl[Add|Remove]VectoredContinueHandler semi-stubs. 2014-11-14 14:16:30 +09:00
Sebastian Lackner 009b6a25bb ntdll/tests: Add basic tests for Rtl[Add|Remove]VectoredContinueHandler. 2014-11-14 14:16:27 +09:00
André Hentschel 8fd7c73a2b ntdll/tests: Get rid of "defined but not used" warnings on non-x86(_64) platforms. 2014-11-13 18:46:38 +09:00
André Hentschel d978dcedd5 ntdll/tests: Clarify ok() conditions (PVS-Studio). 2014-11-11 14:21:31 +09:00
Akihiro Sagawa e94d2e0459 server: KeyNameInformation returns the full name of the key. 2014-10-15 22:01:59 +09:00
Akihiro Sagawa e47ff90659 ntdll/tests: Add KeyNameInformation tests. 2014-09-29 17:48:30 +02:00
Akihiro Sagawa 2be3df3c32 ntdll/tests: Remove duplicated entry. 2014-09-29 17:48:25 +02:00
Sebastian Lackner b765561b49 ntdll/tests: Add tests for FILE_PIPE_INFORMATION.
Based on a patch by Adam Martinson.
2014-08-21 18:02:27 +02:00
Thomas Faber b4c96633ea include: Correctly spell STATUS_SMI_PRIMITIVE_INSTALLER_FAILED. 2014-07-23 21:24:24 +02:00
Sebastian Lackner 9d82ee5cac ntdll/tests: Add tests for DBG_RIPEXCEPTION debugger events. 2014-06-23 11:06:00 +02:00
Sebastian Lackner 99ac786c69 ntdll/tests: Add more tests for debug string events.
This patch adds additional tests, to check how debuggers handle
OUTPUT_DEBUG_STRING_EVENT events.
2014-06-20 16:30:57 +02:00
Sebastian Lackner 457f6af057 ntdll/tests: Run crashing i386 exception tests as the last step. 2014-06-20 12:20:25 +02:00
Sebastian Lackner 3aa62498da ntdll/tests: Use an EXCEPTION_REGISTRATION_RECORD array to prevent compiler from reordering variables. 2014-06-20 12:19:53 +02:00
Sebastian Lackner 0828715179 ntdll/tests: Add exception tests for RtlUnwind on i386. 2014-06-19 19:44:34 +02:00
Sebastian Lackner 1b3d67aace kernel32: Raise DBG_PRINTEXCEPTION_C exception in OutputDebugStringA. 2014-06-17 10:58:28 +02:00
Sebastian Lackner dd0e9fe91e ntdll/tests: Fix exception test failures on x86_64. 2014-06-11 19:15:01 +02:00