Commit Graph

406 Commits

Author SHA1 Message Date
Austin English 132ff59b3e kernel32: Add a stub for GetCurrentProcessorNumberEx.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-12 22:09:55 +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
Michael Müller 55ae09068b ntdll: Implement ThreadGroupInformation class.
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
Sebastian Lackner d5f8dd3aac include: Add definition for FILE_LINK_INFORMATION struct. 2015-08-20 17:35:13 +09:00
Sebastian Lackner 6c586d5db8 kernel32: Forward threadpool wait functions to ntdll. 2015-07-06 14:49:39 +09:00
Sebastian Lackner eadd27a38a kernel32: Forward remaining threadpool functions to ntdll. 2015-07-03 13:08:20 +09:00
Sebastian Lackner 56b9af1150 kernel32: Forward threadpool instance functions to ntdll. 2015-07-03 13:08:05 +09:00
Sebastian Lackner 4b0ecd3e22 kernel32: Forward threadpool timer functions to ntdll. 2015-07-03 13:07:47 +09:00
Sebastian Lackner 1165cc0953 kernel32: Forward threadpool work functions to ntdll. 2015-07-03 13:07:37 +09:00
Sebastian Lackner a54d972868 kernel32: Forward threadpool cleanup group functions to ntdll. 2015-07-03 13:07:18 +09:00
Nikolay Sivov 2c98d5b90c kernel32: Implement GetDynamicTimeZoneInformation(). 2015-05-11 15:39:24 +09:00
Michael Müller 64c48d0e63 ntdll: Define a couple more information classes. 2015-03-26 14:20:48 +09:00
Austin English 33e9798f72 include/winternl.h: Use ntdef.h where possible. 2015-03-13 21:53:36 +09:00
Sebastian Lackner 2daca626d4 ntdll: Implement [Nt|Zw]QueryLicenseValue. 2015-03-13 21:53:25 +09:00
Sebastian Lackner 72a41c50e2 include: Fix definition of SECTION_BASIC_INFORMATION and SECTION_IMAGE_INFORMATION.
Based on a patch by Dmitry Timoshkov.
2015-03-03 17:10:19 +09:00
Sergey Kalinichev 7eed378f5d ntdll: Add stub for RtlSetHeapInformation. 2014-12-19 22:36:17 +01:00
Sebastian Lackner 9a806d0f1c kernel32/tests: Add tests for DEP combined with guard pages and write watches. 2014-10-13 18:30:57 +09:00
Adam Martinson 55e10e4ae2 ntdll: Implement FILE_PIPE_INFORMATION for NtQueryInformationFile. 2014-08-20 19:35:44 +02:00
Nikolay Sivov 5a8d73283c ntdll: Fix LdrLockLoaderLock()/LdrUnlockLoaderLock() on 64bit. 2014-06-11 13:05:39 +02:00
Austin English e63f0bf4b8 include: Add missing EntryInProgress member to _PEB_LDR_DATA struct. 2014-06-11 13:02:45 +02:00
Nikolay Sivov b82b1306a4 kernel32: Added QueryUnbiasedInterruptTime(). 2014-04-02 15:50:09 +02:00
Sebastian Lackner fad29fc5d9 ntdll: Implement RtlSleepConditionVariableSRW. 2014-01-27 14:13:48 +01:00
Sebastian Lackner 899fc8d4ee ntdll: Implement RtlTryAcquireSRWLockShared/Exclusive commands. 2014-01-27 14:13:45 +01:00
Sebastian Lackner 5472b9f9ca ntdll: Implement condition variable functions using keyed events. 2014-01-08 14:34:14 +01:00
Nikolay Sivov 146ff49161 ntdll: Support pinning module refcount with LdrAddRefDll(). 2013-10-14 10:49:44 +02:00
Michael Stefaniuc 23b86eb44e include: Replace the remaining CONSTs. 2013-09-27 10:34:09 +02:00
Alexandre Julliard 31f8893678 taskmgr: Use definitions from winternl.h instead of duplicating them. 2013-09-11 18:33:07 +02:00
Alexandre Julliard 4af4df5af3 ntdll: Add stubs for the SRW lock functions. 2013-09-03 16:58:19 +02:00
Nikolay Sivov 045682a4da kernel32: Forward ZombifyActCtx() to ntdll. 2013-09-03 16:58:16 +02:00
Alexandre Julliard bf3e23bb36 ntdll: Add the keyed events entry points. 2013-08-21 14:24:06 +02:00
Dmitry Timoshkov 7cab2e99c3 ntdll: Last parameter of NtSetIoCompletion is 64-bit on 64-bit platforms. 2013-08-20 20:52:18 +02:00
Nikolay Sivov 1692ccc56d ntdll: Added RtlFindActivationContextSectionGuid() stub. 2013-07-31 16:29:49 +02:00
Alexandre Julliard 3799d55d9b ntdll: Implement RtlExitUserProcess. 2013-07-19 12:15:15 +02:00
Detlef Riekenberg 3e162934d1 ntdll/tests: Fix SYSTEM_CACHE_INFORMATION failures. 2013-01-17 12:18:54 +01:00
James Eder b97a07bc07 include/winternl.h: Fix CPU_FEATURE_3DNOW bit mask. 2012-09-07 12:23:30 +02:00
Dmitry Timoshkov 2a0de94844 psapi: Add a test for NtQueryVirtualMemory(MemorySectionName). 2012-02-06 10:19:30 -06:00
Michael Stefaniuc 5337ad066f include: Drop "l" modifiers from numeric constants in winternl.h. 2011-11-14 11:46:40 +01:00
Austin Lund 84e9a23d8d include: Added OBJECT_TYPE_INFORMATION to winternl.h. 2011-07-07 14:46:15 +02:00
Alexandre Julliard 30cb179fe2 ntdll: Encode the function pointers in the vectored handler list. 2011-06-28 08:01:58 -05:00
Alexandre Julliard 2e81ba5f4f include: Add a prototype for RtlUnwindEx on x86_64. 2011-01-27 14:10:31 +01:00
Rudolf Mayerhofer ded24c0d1f include: Add information class SystemLogicalProcessorInformation. 2010-10-07 15:58:12 +02:00
André Hentschel f2b874ffae include: Add some SYSDBG_COMMANDs. 2010-07-01 17:41:26 +02:00
Henri Verbeet be73cb70de include: Specify some fields of the SYSTEM_PERFORMANCE_INFORMATION structure. 2010-03-29 15:50:43 +02:00
Peter Rosin bdebad094c ntdll: Add RtlSetThreadErrorMode and RtlGetThreadErrorMode. 2010-02-03 11:37:59 +01:00
Alexandre Julliard e26d2665dc include: Define some more of the NT global flag values. 2010-01-21 09:07:46 +01:00
Alexandre Julliard 1c119dad6d ntdll: Implement LdrQueryImageFileExecutionOptions and use it to retrieve the per-process global flag. 2010-01-20 17:11:03 +01:00
Alexandre Julliard 3b67ad9bd4 ntdll: Fix the NtCreateEvent prototype.
It takes an event type, not a manual reset flag.
2010-01-18 20:34:54 +01:00
Alexandre Julliard 3c11ff9750 include: Move some 64-bit definitions to winnt.h to match the latest PSDK. 2009-12-04 14:30:34 +01:00
Dan Kegel 0f556bf803 ntdll: Implement RtlGetNtGlobalFlags(), add related defines to winternl.h. 2009-11-30 16:13:08 +01:00
Gerald Pfeifer 36fad65338 include: Remove use of _WIN32_WINNT. 2009-11-21 14:31:45 +01:00
Maarten Lankhorst 6e0e0dc605 include: Fix timer APC callback definition. 2009-11-19 11:08:06 +01:00
Alexandre Julliard 44f520a5b6 include: Add some more definitions for FILE_INFORMATION_CLASS. 2009-11-18 15:15:32 +01:00
André Hentschel 3259c81e10 ntdll: Implement KeyNameInformation. 2009-10-26 11:40:29 +01:00
Dmitry Timoshkov 27ebfdb879 kernel32: Implement HeapQueryInformation, add some basic tests for it. 2009-10-12 12:48:03 +02:00
Andrey Turkin be910d973a ntdll: Add stub for NtSetInformationThread(ThreadHideFromDebugger). 2009-10-06 16:13:17 +02:00
Eric Pouech f6ceedf6dd ntdll: In SYSTEM_BASIC_INFORMATION, the active processors field refers to the affinity mask. 2009-09-22 16:47:25 +02:00
Alexandre Julliard c9d85dd576 ntdll: Route the process startup through the platform-specific thread startup code. 2009-08-29 11:24:44 +02:00
Alexandre Julliard 2be006e497 ntdll: Fix a couple of system information structures for 64-bit. 2009-08-27 19:47:49 +02:00
Alexandre Julliard 4964374570 ntdll: The large integer functions are 32-bit only. 2009-08-24 15:17:33 +02:00
Mike Kaplinskiy af25949a51 ntdll: Implement NtCancelIoFileEx and fix NtCancelIoFile. 2009-08-18 12:29:27 +02:00
Alexandre Julliard 747d58d211 ntdll: Add management of the Wow64 filesystem redirection flag. 2009-07-06 15:08:39 +02:00
Alexandre Julliard f7b1e94f98 ntdll: Initial implementation of RtlVirtualUnwind on x86_64. 2009-05-15 20:19:28 +02:00
Alexandre Julliard 82fb611806 ntdll: Fix the LPC_MESSAGE structure definition for 64-bit. 2009-05-07 14:44:22 +02:00
Alexandre Julliard 1f8876b1de include: Fix the SYSTEM_CACHE_INFORMATION structure for Win64. 2009-04-24 12:31:03 +02:00
Alexandre Julliard b9b515749b include: Update and document the TEB/PEB offsets on 64-bit. 2009-04-09 14:29:30 +02:00
Alexandre Julliard f8313855e4 ntdll: Convert the DbgPrint* functions to use MS ABI varargs. 2009-01-28 19:38:19 +01:00
Ricardo Filipe 141dcff441 ntdll: Add stub for RtlDecompressBuffer. 2009-01-28 13:46:15 +01:00
Ricardo Filipe 63a5cec8cd ntdll: Add stub for RtlCompressBuffer. 2009-01-27 11:08:33 +01:00
Juan Lang 33d05e87b1 include: Add definition of OBJECT_NAME_INFORMATION. 2009-01-26 15:07:14 +01:00
Ricardo Filipe f4eb36531f ntdll: Add stub for RtlGetCompressionWorkSpaceSize. 2009-01-26 14:29:51 +01:00
Alexandre Julliard 6a548b1e9d ntdll: Fix the various structures returned by NtQuerySystemInformation for 64-bit. 2009-01-03 14:55:32 +01:00
Alexandre Julliard 5f36d0239f kernel32: Convert FormatMessageA/W to use an MS ABI vararg list for x86_64. 2008-12-31 20:59:51 +01:00
Maarten Lankhorst 72423f5f6d ntdll: Make the loader process relocations correctly for x86_64. 2008-12-26 13:42:07 +01:00
Maarten Lankhorst 768160e944 ntdll: Make all exported wine functions CDECL. 2008-12-17 15:02:25 +01:00
Alexandre Julliard 345aff3f17 include: Added some definitions for x86_64 exception handling. 2008-12-08 19:27:59 +01:00
Alexandre Julliard 6c7ff61639 ntdll: Added stubs for NtGetWriteWatch and NtResetWriteWatch. 2008-11-14 11:02:15 +01:00
Alistair Leslie-Hughes 8c57a6ef8b advapi32: Correct spelling of SE_CHANGE_NOTIFY_PRIVILEGE. 2008-11-10 11:08:01 +01:00
Andrey Turkin c425c8a406 ntdll: Add stubbed implementations for NtQueryEaFile and NtSetEaFile. 2008-09-25 13:29:30 +02:00
Marcus Meissner 96412ee564 Annotate with allocation size attribute. 2008-09-05 11:22:26 +02:00
Alexandre Julliard 091d9748e3 ntdll: Add stubs for all the job object functions. 2008-09-04 22:47:13 +02:00
Alexandre Julliard 0327f84a2f ntdll: Implemented NtOpenProcessTokenEx and NtOpenThreadTokenEx. 2008-09-04 21:57:13 +02:00
Dmitry Timoshkov 97f2cbc1ea ntdll: Add support for NtSetInformationProcess(ProcessExecuteFlags). 2008-09-04 11:53:00 +02:00
Dan Hipschman 4c64d0cdfa ntdll: Implement RtlDeleteTimer for kernel32's DeleteTimerQueueTimer. 2008-07-25 14:09:15 +02:00
Dan Hipschman 396e47ef5c ntdll: Implement RtlUpdateTimer for kernel32's ChangeTimerQueueTimer. 2008-07-25 14:09:15 +02:00
Dan Hipschman d343f2baf7 ntdll: Implement RtlCreateTimer for kernel32's CreateTimerQueueTimer. 2008-07-23 11:24:03 +02:00
Dan Hipschman 20a1ca2bbf ntdll: Implement [Rtl]Create/DeleteTimerQueue[Ex]. 2008-07-22 13:24:21 +02:00
Jon Griffiths 1ad733e4e0 ntdll: Implement [Rtl]InitializeCriticalSectionEx. 2008-06-23 14:04:24 +02:00
Alexandre Julliard fca6067748 ntdll: Implemented LdrProcessRelocationBlock. 2008-04-02 20:38:51 +02:00
Alexandre Julliard 2d6366fc29 ntdll: Implemented NtWriteFileGather. 2008-03-15 10:58:38 +01:00
Alexandre Julliard 81e4a0f6f3 ntdll: Implemented NtReadFileScatter. 2008-03-15 10:58:38 +01:00
Alexandre Julliard 5625c6079e Get rid of the global thread.h header. 2008-03-01 11:57:00 +01:00
Alexandre Julliard 6d6e9a42b1 ntdll: Added definitions and structures for fiber local storage. 2008-02-29 19:55:34 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Zach Goldberg 17651d0d0c Fix some typos. 2008-01-03 13:10:04 +01:00
Rob Shearman 25bc7023ba ntdll: Implement RtlRegisterWait, RtlDeregisterWait and RtlDeregisterWaitEx. 2008-01-02 14:30:08 +01:00
Andrey Turkin 343f2c1b30 ntdll: Implement BindIoCompletionCallback. 2007-12-21 13:52:34 +01:00
Alexandre Julliard 6cf2df5a0c include: Add NTSYSAPI to the exported ntdll functions. 2007-11-07 12:30:08 +01:00
Rob Shearman 6b081232b9 ntdll: Add a stub for RtlSetControlSecurityDescriptor.
Implement SetSecurityDescriptorControl on top of RtlSetControlSecurityDescriptor.
2007-10-23 18:20:45 +02:00
Peter Oberndorfer 073dd7dde2 ntdll: NtAreMappedFilesTheSame semi stub. 2007-09-27 12:47:15 +02:00
Mikolaj Zalewski 04e688a26d ntdll: Add RtlAddAuditAccessAceEx. 2007-09-25 11:18:40 +02:00
Dmitry Timoshkov d666143f88 ntdll: Detect current time zone settings. 2007-08-21 12:40:37 +02:00
Eric Pouech 6792a9a92e ntdll: Implemented RtlFindActivationContextSectionString. 2007-07-26 11:05:32 +02:00
Alexandre Julliard 3a71513d99 ntdll: Initial implementation of RtlQueryInformationActivationContext.
Partially based on a patch by Eric Pouech.
2007-07-26 11:05:32 +02:00
Alexandre Julliard 4156a716b0 ntdll: Create the per-module activation context at module load time. 2007-07-25 16:50:32 +02:00
Alexandre Julliard 797dd942ec ntdll: Implemented handling of the per-thread activation context stack. 2007-07-19 17:07:48 +02:00
Alexandre Julliard 64f6fdc57e kernel32: Move activation context creation to ntdll (based on a patch by Eric Pouech). 2007-07-19 17:01:04 +02:00
Alexandre Julliard 44c9758d05 ntdll: Move private data to make room in the TEB for the activation context data. 2007-07-19 16:56:10 +02:00
Andrew Talbot 33c0db06f9 ntdll: Constify some variables. 2007-06-26 12:54:58 +02:00
Andrey Turkin ad5f94d0f7 ntdll: Stub and document IoCompletion APIs. 2007-06-08 13:29:31 +02:00
Dmitry Timoshkov 737b9e5acd winternl.h: Make the fields of the PROCESS_BASIC_INFORMATION structure use same type width as a PSDK one. 2007-05-23 13:04:58 +02:00
Dmitry Timoshkov 5f1a234731 kernel32: Fix the size of ThreadAffinityMask to match PSDK. 2007-05-21 19:11:01 +02:00
Vitaliy Margolen 311c001654 ntdll: Implement RtlWriteRegistryValue and forward ntoskrnl to it. 2007-05-21 17:03:00 +02:00
Alexandre Julliard 447fda5206 ntdll: Implemented LdrAddRefDll. 2007-05-16 16:39:29 +02:00
Alexandre Julliard b64530eee4 ntdll: Reimplement LdrGetDllHandle to use the same search algorithm as LdrLoadDll. 2007-05-16 16:35:43 +02:00
Andrew Talbot a22c7a6c34 kernel32: Constify a variable. 2007-05-03 14:23:31 +02:00
Andrew Talbot 7c6ef46cb9 include: Replace inline static with static inline. 2007-03-26 12:19:34 +02:00
Bang Jun-Young fdff5c3a3a ntdll: Fix NtUnloadKey to match the DDK. 2007-02-05 12:26:01 +01:00
Andrew Talbot 9cf1579aad ntdll/tests: Cast-qual warning fix. 2006-12-13 11:49:01 +01:00
Francois Gouget 5cff5038a9 Fix ntsecapi.h so it does not depend on winternl.h. 2006-11-08 12:53:19 +01:00
Francois Gouget 30e44c85c8 Assorted spelling fixes. 2006-11-07 15:25:24 +01:00
Alexandre Julliard c9b5569bc2 ntdll: Added implementation of RtlDllShutdownInProgress. 2006-11-03 13:52:02 +01:00
Robert Reif 46d2886dd0 ntdll: Fix some function arguments. 2006-08-04 11:59:25 +02:00
Alexandre Julliard 6f7b1f6463 ntdll: Move the calling of the process entry point back to kernel32.
Apparently some copy protection stuff relies on that.
This reverts commit 50fca716fd.
2006-07-31 21:25:29 +02:00
Alexandre Julliard 50fca716fd ntdll: Moved the calling of the process entry point to LdrInitializeThunk. 2006-07-13 14:58:04 +02:00
Ge van Geldorp 6096e5861a ntdll: Widen fields in LDR_RESOURCE_INFO to accomodate 64 bit pointers. 2006-07-11 17:15:54 +02:00
Eric Pouech 2d3504c309 ntdll/kernel32: Moved GetThreadSelectorEntry to ntdll.
- implemented NtQueryInformationThread's ThreadDescriptorTableEntry
  information class
- used it to implement the kernel32's equivalent (GetThreadSelectorEntry)
2006-05-27 13:00:19 +02:00
Eric Pouech 1d6e2590e0 ntdll/kernel32: Pipe information.
- implemented ntdll.NtQueryInformationFile's FilePipeLocalInformation control code 
- reimplemented kernel32.GetNamedPipeInfo on top of it
- enhance current features to make this work both on client and server handles
- now also returning the number of instances
2006-05-27 12:31:01 +02:00
Alexandre Julliard 9769806c3a ntdll: Implemented RtlPcToFileHeader. 2006-05-27 10:55:48 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike McCormack 9aa468d884 ntdll: Stub implementations of NtCreateIoCompletion, NtSetIoCompletion, and NtRemoveIoCompletion.
Based on a patch by Rob Shearman.
2006-04-19 12:00:02 +02:00
Robert Shearman a18bdf13f7 ntdll: Very crude implementation of RtlQueueWorkItem. 2006-03-13 13:34:06 +01:00
Alexandre Julliard 9669ff8de4 ntdll: Get rid of the main_file argument in LdrInitializeThunk. 2006-02-08 15:22:24 +01:00
Alexandre Julliard b7b7f2b679 Avoid importing _strlwr/_strupr from ntdll. 2006-01-24 12:24:05 +01:00
Alexandre Julliard 2878d99216 ntdll: Add debug registers to the context of all exceptions.
Maintain a local cache of the debug registers to avoid server calls
where possible.
2006-01-13 13:58:14 +01:00
Vitaliy Margolen 978f470692 ntdll: NtQueryInformationToken change parameters according to PSDK.
Check for NULL pointer.
2006-01-12 13:32:09 +01:00
Alexandre Julliard 90e3865929 ntdll: NtRaiseException doesn't need to be a register function.
Moved common code between NtRaiseException and RtlRaiseException to a
separate raise_exception function.
2006-01-10 17:51:22 +01:00
Rolf Kalbermatter 97ede2dca8 include: Fix DECLSPEC_NORETURN for compilation with MS C compiler. 2006-01-03 13:33:22 +01:00
Alexandre Julliard 0603559de2 ntdll: Check for failure to get the user path in RtlOpenCurrentUser.
Fixed the return value type.
2005-12-08 11:53:42 +01:00
Ivan Leo Puoti a1cd3ab653 Implement RtlInitAnsiStringEx. 2005-11-07 11:14:45 +00:00
Ivan Leo Puoti ce08973ffa Fix NtQueryDirectoryObject prototype, documentation, and the
definition of the structure it uses.
2005-10-28 16:42:11 +00:00
Ivan Leo Puoti e1008c386f Add stub implementation for NtAccessCheckAndAuditAlarm. 2005-10-27 10:25:41 +00:00
Vitaliy Margolen af53827901 Add OBJECT_BASIC_INFORMATION to winternl.h. 2005-10-26 10:11:23 +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
Francois Gouget 6fb12fc291 Declare PNTSTATUS in lmaccess.h and ntsecapi.h to match the PSDK.
Protect against multiple definitions.
Use PNTSTATUS where appropriate.
2005-08-16 16:01:49 +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
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
Dmitry Timoshkov 1dc18952ae Use SIZE_T type for size variables in NTDLL when appropriate. 2005-07-15 10:01:30 +00:00
Mike McCormack da0ade4689 Define the remaining Nt* functions. 2005-07-10 17:43:39 +00:00