Commit Graph

286 Commits

Author SHA1 Message Date
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 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
Andrey Turkin ad5f94d0f7 ntdll: Stub and document IoCompletion APIs. 2007-06-08 13:29:31 +02:00
Alexandre Julliard 156b205eb5 server: Add support for system processes, that can be signaled to exit when all non-system processes are done. 2007-06-06 20:33:13 +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
Louis Lenders fc1d30f6ca ntdll: Add NtAreMappedFilesTheSame stub. 2007-03-30 11:22:50 +02:00
Francois Gouget 7a37f21a78 ntdll: The fourth parameter of RtlUnwind() is a pointer, not a long. 2007-02-09 14:32:56 +01:00
Francois Gouget 589fcd8ccf ntdll: ZwRaiseException() is not a register function. 2007-02-09 14:32:56 +01:00
Damjan Jovanovic 07db8882c2 ntdll: Slist support.
Implemented ntdll's RtlInitializeSListHead, RtlQueryDepthSList,
RtlInterlockedFlushSList, RtlFirstEntrySList,
RtlInterlockedPushEntrySList, RtlInterlockedPopEntrySList, their
kernel32 equivalents, and tests.
2007-02-05 21:46:28 +01:00
Mike McCormack bcc717174c ntdll: Implement RtlDecodePointer and RtlEncodePointer. 2007-01-22 12:45:43 +01:00
Alexandre Julliard c9b5569bc2 ntdll: Added implementation of RtlDllShutdownInProgress. 2006-11-03 13:52:02 +01:00
Francois Gouget 4efaf24ce7 ntdll: Document a Microsoft spelling mistake so we know it is not to be fixed. 2006-09-08 11:03:19 +02:00
Robert Reif 46d2886dd0 ntdll: Fix some function arguments. 2006-08-04 11:59:25 +02:00
Alexandre Julliard 72e2dea1f1 ntdll: Added spec entry for NtQueryMultipleValueKey. 2006-06-12 16:10:28 +02:00
Alexandre Julliard 9769806c3a ntdll: Implemented RtlPcToFileHeader. 2006-05-27 10:55:48 +02:00
Jacek Caban 2333c80500 ntdll: Added NtGetTickCount implementation. 2006-04-20 20:12:48 +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
Alexandre Julliard d340bd003a ntdll: Add wrappers for the remaining math functions. 2006-04-18 20:31:41 +02:00
Alexandre Julliard 473fbcb781 ntdll: Add wrappers for the string functions. 2006-04-18 20:30:43 +02:00
Robert Shearman ea6f3a4cc0 ntdll: Move the call to MODULE_DllThreadAttach from the kernel32
thread creation function to the NTDLL one.
2006-03-14 17:50:28 +01:00
Robert Shearman a18bdf13f7 ntdll: Very crude implementation of RtlQueueWorkItem. 2006-03-13 13:34:06 +01:00
Alexandre Julliard 4107751dd3 ntdll: Simplify loadorder code by using an enum instead of an array
to represent load order values.
Added a special value for default load order so that we can handle it
differently later on.
2006-02-22 16:30:05 +01:00
Johan Dahlin e21aff0766 ntdll: RtlIpv4AddressToStringExW/RtlIpv4StringToAddressExW stubs. 2006-02-02 13:21:26 +01:00
Alexandre Julliard 2a192064e8 ntdll: memcpy should behave like memmove in ntdll too. 2006-01-24 12:28:34 +01:00
Alexandre Julliard a1544e0d20 ntdll: Mark all libc-style functions as private to make sure we link
to the real libc functions instead.
2006-01-24 12:24:35 +01:00
Mike McCormack 2735fc58b9 ntdll: Forward ZwNotifyChangeDirectoryFile to NtNotifyChangeDirectoryFile. 2006-01-23 16:39:49 +01:00
H. Verbeet c1f52e0013 ntdll: Add a stubbed NtSetSystemInformation. 2006-01-20 19:41:04 +01:00
Mike McCormack 0c728255a4 ntdll: Add a stub implementation of NtNotifyChangeDirectoryFile. 2006-01-16 20:40:11 +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
Alexandre Julliard 15430f6eda Add -register hint in ntdll, kernel and msvcrt spec files. 2005-12-16 12:44:58 +01:00
Alexandre Julliard 50bbfb3c8c ntdll: Reimplemented _chkstk and _alloca_probe directly in assembly. 2005-12-15 10:48:12 +01:00
Ivan Leo Puoti a1cd3ab653 Implement RtlInitAnsiStringEx. 2005-11-07 11:14:45 +00:00
Ivan Leo Puoti e1008c386f Add stub implementation for NtAccessCheckAndAuditAlarm. 2005-10-27 10:25:41 +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 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
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 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 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
Eric Pouech 6d68a03d4f Implemented OpenProcess on top of NtOpenProcess. 2005-06-27 11:12:11 +00:00
Paul Vriens 9a9f4cdab5 Correct the entries for [Nt|Zw]OpenSymbolicLinkObject. 2005-06-24 11:38:41 +00:00
James Hawkins a0bfbb9801 Add stub implementation of RtlAddAuditAccessAce. 2005-06-23 11:03:30 +00:00
Alexandre Julliard aa0b9aac0d Sort entry points alphabetically. 2005-06-22 18:38:23 +00:00
James Hawkins e485f984bd Implement RtlCopySecurityDescriptor. 2005-06-20 10:34:30 +00:00
Mike McCormack d838385b38 Add and fix function prototypes. 2005-06-13 10:03:18 +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
Alexandre Julliard 6d07a9c39c Moved the server part of the ExitThread functionality to ntdll. 2005-06-05 18:38:48 +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
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
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 3b843d3e7d Remove all traces of the VIRTUAL_SetFaultHandler support. 2005-04-20 16:26:23 +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
Mike McCormack 9a99a39e0b Stub implementation of RtlAbsoluteToSelfRelativeSD. 2005-03-30 10:22:51 +00:00
Ivan Leo Puoti 10f1067e0b Update ntdll.spec against current Microsoft build. 2005-03-14 10:53:36 +00:00
Ivan Leo Puoti 5251126f66 Add implementation for RtlQueryRegistryValues, RtlCheckRegistryKey and
RtlDeleteRegistryValue.
2005-02-14 21:07:33 +00:00
Rein Klazes 407d863a8a Get rid of the rdtsc cpu instruction method for calculation of the
performance counter. Put the calculation (based on gettimeofday) in
NtQueryPerformanceCounter() and use that in the kernel functions.
2005-01-26 20:41:36 +00:00
Ivan Leo Puoti bfef6208a2 Added NtLoadDriver and NtUnloadDriver stubs. 2005-01-24 12:49:53 +00:00
Alexandre Julliard 1fd6264244 Fixed the FIXME in RtlNtStatusToDosError, and implemented
RtlGetLastNtStatus and RtlSetLastWin32ErrorAndNtStatusFromNtStatus.
2005-01-04 12:09:32 +00:00
Robert Shearman 7572b125b5 Implement NtQueryTimer. 2004-12-13 21:10:58 +00:00
Robert Shearman ee6982eeae Implement handle tables and add tests for them. 2004-12-07 14:47:13 +00:00
Eric Pouech 44158dd690 - moved event, semaphore, mutex implementation from kernel32 to ntdll
- added mutant implementation in ntdll, and use it for mutex
  implementation in kernel32
- added access parameter on event, semaphore, timer creation in
  wineserver (as ntdll interface requires it)
- added missing definitions in include/winternl.h
2004-12-02 18:05:37 +00:00
Alexandre Julliard de91a8dd0f Implemented NtYieldExecution. 2004-10-11 20:11:01 +00:00
Steven Edwards f7fb4d2b50 Added stub for NtShutdownSystem. 2004-09-14 19:30:36 +00:00
Mike McCormack 6f74043bfb Stub implementations for NtAdjustGroupsToken and NtAlertThread. 2004-08-30 18:36:24 +00:00
Mike McCormack 03425cb09d Added stub implementations for NtDeleteFile and NtCancelIoFile. 2004-08-27 19:11:01 +00:00
Alexandre Julliard 6a27b48895 Fd type is no longer used, get rid of it. 2004-08-18 00:04:58 +00:00
Mike McCormack b255c11787 Stub implementation for NtSetInformationToken. 2004-08-17 22:09:55 +00:00
Mike McCormack 278f743a4c Stub implementation and declaration for NtCreateNamedPipeFile. 2004-08-16 21:08:38 +00:00
Mike McCormack e3d8853bb8 Moved FlushInstructionCache to ntdll. 2004-08-04 18:15:04 +00:00
Alexandre Julliard 81b22375d0 Added support for getting and setting the UI language. 2004-07-30 01:45:16 +00:00
Alexandre Julliard 9f58ee709d Set the system directory in ntdll as soon as we have determined it. 2004-07-15 22:07:21 +00:00
Alexandre Julliard cc461324da Store the number of processors in the PEB structure.
More correct support for setting critical section spin counts (based
on a patch by Robert Shearman).
2004-06-15 00:52:03 +00:00
Raphael Junqueira d6bd6b0488 Added _vsnwprintf (needed by some native XP dlls). 2004-06-03 00:26:35 +00:00
Alexandre Julliard 7b6651a9e1 Moved creation of the CDROM registry keys into the registry loading
code.
2004-04-23 21:36:22 +00:00
Alexandre Julliard 9db147e5e4 Make DIR_nt_to_unix return STATUS_NO_SUCH_FILE instead of
STATUS_OBJECT_NAME_NOT_FOUND to indicate that the last component
didn't exist to allow distinguishing it from legitimate errors.
Export it from ntdll, renamed to wine_nt_to_unix_file_name.
2004-04-23 02:46:18 +00:00
Alexandre Julliard e4409325d2 Reimplemented GetFileAttributesExW and GetCompressedFileSizeW using
the corresponding ntdll functionality.
2004-04-20 04:06:49 +00:00
Robert Shearman e2490a0986 Stub and documentation for RtlFormatMessage. 2004-04-20 01:07:23 +00:00
Alexandre Julliard 174e2a6464 Reimplemented GetFileAttributesW, SetFileAttributesW and SetFileTime
using the corresponding ntdll functionality.
2004-04-20 00:36:29 +00:00
Alexandre Julliard 1cb0cf4ced Moved wine_get_unix_file_name implementation to ntdll, and changed it
to return an allocated buffer instead of a fixed size one.
2004-04-14 19:40:53 +00:00
Raphael Junqueira 43b9f97b22 - fix DbgPrint and implement DbgPrintEx
- stub for NtImpersonateAnonymousToken
2004-04-07 19:05:34 +00:00
Raphael Junqueira b9f45e7a70 Added some stubs. 2004-04-01 02:12:41 +00:00
Raphael Junqueira ca6b072689 Stub implementations of RtlCreateQueryDebugBuffer,
RtlDestroyQueryDebugBuffer and RtlQueryProcessDebugInformation.
2004-03-18 02:08:43 +00:00
Alexandre Julliard db692c8f39 Open a real file handle for drive devices, and get rid of the server
device hacks (based on a patch by Eric Pouech).
2004-03-04 23:00:18 +00:00
Eric Pouech 210e1abb35 Added support for Unix code page in NTDLL. 2004-01-18 22:11:52 +00:00
Jon Griffiths ae0ca56453 Added RtlNtStatusToDosErrorNoTeb, RtlGet/Set/RestoreLastWin32Error,
RtlGUIDFromString, RtlStringFromGUID.
2003-12-12 05:56:44 +00:00
Jon Griffiths 03ce33f629 Implement the Rtlp* registry functions. 2003-12-04 20:52:12 +00:00
Alexandre Julliard f752be843e Implement some more register functions using DEFINE_REGS_ENTRYPOINT to
make them available for imports.
2003-12-04 05:51:01 +00:00
Alexandre Julliard f3f435ffa1 Added wine_server_release_fd function to release the fd returned by
wine_server_handle_to_fd. Fixed a couple of potential fd leaks.
2003-12-01 23:01:12 +00:00
Alexandre Julliard 16b4411669 Removed MODULE_GetLoadOrderA. 2003-11-25 01:03:04 +00:00
Ulrich Czekalla fd5e811c4e Added stubs for AccessCheckByType, AddAuditAccessAce,
GetNamedSecurityInfoA, GetNamedSecurityInfoW.
Implemented ConvertStringSecurityDescriptorToSecurityDescriptorW,
DeleteAce, MakeAbsoluteSD, GetAclInformation, ConvertStringSidToSidW,
RtlDeleteAce, RtlQueryInformationAcl.
2003-11-11 22:03:24 +00:00
Alexandre Julliard 8574412e1e Added wine_pthread_create_thread and wine_pthread_exit_thread to the
pthread support, and removed the corresponding SYSDEPS functions.
Moved stack allocation for new threads to wine_pthread_create_thread
to allow more flexibility.
2003-11-05 23:31:11 +00:00