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
Ulrich Czekalla
da10653f6f
Implemented RtlSelfRelativeToAbsoluteSD and RtlMakeSelfRelativeSD.
...
Fixed some related SE_SELF_RELATIVE bugs.
2003-11-05 01:41:20 +00:00
Alexandre Julliard
063cff8686
Use the signal stack pointer to determine the current thread.
...
Converted the SIGUSR2 handler to use setup_exception (probably still
not working properly).
2003-11-05 00:52:29 +00:00
Alexandre Julliard
7370f60120
Implemented RtlCreateUserThread, and use it to move thread creation to
...
ntdll.
2003-10-31 00:16:20 +00:00
Alexandre Julliard
54b1d87daf
Implemented Add/RemoveVectoredExceptionHandler.
2003-10-28 21:22:50 +00:00
Alexandre Julliard
21066d0d44
Link kernel32 as a normal dll.
2003-10-10 00:23:47 +00:00
Alexandre Julliard
96118aeafb
Added a few missing exports.
2003-10-09 05:00:41 +00:00
Alexandre Julliard
67d9f38059
Added __wine_set_signal_fs function to avoid sharing the
...
SYSLEVEL_Win16CurrentTeb variable between kernel and ntdll.
On the kernel side, replaced SYSLEVEL_Win16CurrentTeb by
CallTo16_TebSelector stored directly in the asm relay code to avoid a
run-time relocation.
2003-10-08 22:59:22 +00:00
Alexandre Julliard
632676b17e
Moved the final process init and dependency loading to
...
dlls/ntdll/loader.c, (ab)using the LdrInitializeThunk entry point.
2003-10-06 21:18:51 +00:00
Alexandre Julliard
5e3549bf3b
Implemented RtlCreateProcessParameters and related functions.
2003-10-04 03:11:57 +00:00
Alexandre Julliard
52f692fb9b
Moved the wine server client-side support to dlls/ntdll. Removed a
...
couple of unnecessary functions.
2003-09-18 23:27:19 +00:00
Alexandre Julliard
2eb5d8b9b1
On TlsFree, clear the released TLS index in all threads.
2003-09-08 19:02:01 +00:00
Alexandre Julliard
9b8a0595bc
_ftol should return a 64-bit int (spotted by Jon Griffiths).
2003-08-19 01:03:08 +00:00
Dmitry Timoshkov
14d766845c
Fix spec entry for ZwSetTimerResolution.
2003-07-09 19:44:51 +00:00
Alexandre Julliard
4f196ead13
Implemented the ThreadBasicInformation case for
...
NtQueryInformationThread.
2003-07-09 02:57:57 +00:00
Alexandre Julliard
4f4b980c1e
Implemented NtRead/WriteVirtualMemory.
2003-07-08 21:18:45 +00:00
Alexandre Julliard
217fdab78f
Implemented NtDelayExecution and make Sleep call it.
...
The handle count must not be 0 in NtWaitForMultipleObjects (spotted by
Troy Rollo).
2003-06-30 21:00:15 +00:00
Eric Pouech
f6a70969e1
- start moving a few file related functions from files/file.c to
...
dlls/kernel subdir (also splitting 16bit APIs in a separate file)
- implemented ntdll.Nt{Lock|Unlock}File, and made use of those for the
kernel32 equivalent
- implemented a few information classes in NtQueryInformationFile and
NtSetInformationFile (still lots of missing classes)
- enhanced the get_file_info server request in order to implement
correctly NtQueryInformationFile (change time & file alloc size)
- rewrote registry loading to comply with latest changes
2003-06-24 02:32:01 +00:00
736ff98510
Added AddAccessAllowdAceEx, AddAccessDeniedAceEx, GetAclInformation.
2003-06-16 19:44:06 +00:00
Eric Pouech
2e5cdf95da
Implemented:
...
- RtlDoesFileExists_U as a stub
- RtlDosSearchPath_U
2003-06-16 01:24:30 +00:00
Eric Pouech
b350438074
Implemented NtQueryObject and NtSetInformationObject for the
...
ObjectDataInformation class.
2003-05-20 19:20:42 +00:00
Eric Pouech
4c591d4ef3
Implemented timer related functions in ntdll and make the kernel32
...
functions use them.
2003-05-20 04:00:42 +00:00
Eric Pouech
35d5d06ac9
Implemented RtlDosPathNameToNtPathName_U, RtlGetCurrentDirectory_U,
...
RtlGetFullPathName_U and RtlSetCurrentDirectory_U (the last one
partially as we can't test whether a path exists or not).
2003-05-15 04:20:42 +00:00
Eric Pouech
b124fa9617
Implemented RtlExpandEnvironmentStrings_U and fixed an incorrect
...
behavior in RtlQueryEnvironmentString.
2003-05-13 04:45:50 +00:00
Aric Stewart
3de90d99b7
RtlUnicodeToMultiByteSize argument is not a null terminated string,
...
use 'ptr'.
2003-05-12 03:32:56 +00:00
Alexandre Julliard
f54ffdac93
Removed unnecessary function link names.
2003-05-11 03:04:57 +00:00
Eric Pouech
2d758c6444
Implemented a bunch of environment related NTDLL APIs.
2003-05-08 03:47:00 +00:00
Thomas Mertes
d628d125ab
Implement RtlDuplicateUnicodeString, RtlFindCharInUnicodeString,
...
RtlInitUnicodeStringEx.
Documentation updates for RtlInitAnsiString, RtlInitString,
RtlInitUnicodeString, RtlAnsiStringToUnicodeString and
RtlOemStringToUnicodeString.
2003-05-06 18:27:40 +00:00
Robert Shearman
f0025e2adc
- Implemented RtlAddAccessAllowedAce, RtlAddAccessDeniedAce,
...
RtlAddAce, RtlValidAcl.
- Added the corresponding functions in advapi32.
- Grouped the ACL functions in advapi32.
2003-05-01 00:29:26 +00:00
Alexandre Julliard
86666c51e2
Implemented ntdll resource functions.
2003-04-29 23:00:48 +00:00
Eric Pouech
b6338878a8
Moved kernel32.FlushFileBuffers to ntdll.NtFlushBuffersFile.
2003-04-22 04:04:17 +00:00
Alexandre Julliard
d6da1f33ab
Implemented RtlIsNameLegalDOS8Dot3 (based on a patch by Eric Pouech).
...
Implemented RtlUpcaseUnicodeStringToCountedOemString.
2003-04-16 23:15:29 +00:00
Alexandre Julliard
aa94a5ad1a
Implemented RtlDetermineDosPathNameType_U and RtlIsDosDeviceName_U.
2003-04-12 00:10:13 +00:00
Thomas Mertes
0ce4826eee
Implemented RtlRandom, RtlAreAllAccessesGranted,
...
RtlAreAnyAccessesGranted, RtlCopyLuid, RtlEqualLuid, RtlMapGenericMask
and RtlCopyLuidAndAttributesArray.
Documentation updates for RtlExtendedMagicDivide, RtlUniform,
RtlUnicodeStringToAnsiString, RtlAppendAsciizToString,
RtlAppendStringToString, RtlAppendUnicodeToString and
RtlAppendUnicodeStringToString.
2003-04-08 00:55:36 +00:00
Alexandre Julliard
088bcf9ca5
Implemented NtQueueApcThread, and changed the server APC interface to
...
always take 3 parameters.
Implemented a number of other ntdll thread functions, and use them
from the kernel ones.
2003-04-04 22:26:34 +00:00
Alexandre Julliard
fbef57c0ce
Moved WaitForMultipleObjects to ntdll (based on a patch by Eric
...
Pouech).
Added NTDLL_get_server_timeout function to compute ntdll-style
timeouts and adapted the timer code to use it.
2003-03-31 01:37:04 +00:00
Thomas Mertes
c83aa0d311
- Implement RtlDowncaseUnicodeString, RtlUniform, iswdigit, iswlower,
...
iswspace, iswxdigit.
- Fixed RtlInt64ToUnicodeString and RtlIntegerToUnicodeString.
- According to tests RtlAppendUnicodeStringToString leaves the
destination unchanged when the source length is 0 (FIXED).
- Documentation updates in RtlExtendedMagicDivide,
RtlLargeIntegerToChar, RtlInt64ToUnicodeString, RtlUpperChar,
RtlUpperString, RtlUpcaseUnicodeChar, RtlCharToInteger,
RtlIntegerToChar, RtlUnicodeStringToInteger,
RtlIntegerToUnicodeString, _ultoa, _ltoa, _itoa, _ui64toa, _i64toa,
_atoi64, _ultow, _ltow, _itow, _ui64tow, _i64tow, _wtol, _wtoi,
_wtoi64.
2003-03-22 00:20:58 +00:00
Eric Pouech
051f87150f
- implemented LdrQueryProcessModuleInformation
...
- rewrote VERSION_GetLinkedDllVersion() with this new function instead
of accessing directly the modref list
2003-03-21 00:34:36 +00:00
Alexandre Julliard
a9bedef3f6
Changed name of the asm version of RtlUlong/shortByteSwap to avoid
...
conflicts with the inline version.
2003-03-20 19:25:39 +00:00
Alexandre Julliard
500a2f95f7
Partially implemented LdrLock/UnlockLoaderLock.
2003-03-20 04:29:21 +00:00
Alexandre Julliard
114a31a2a8
Take advantage of new winebuild syntax to remove redundant function
...
names in spec files.
2003-03-20 03:53:12 +00:00
Alexandre Julliard
6da4c275ca
Implemented Rtl*ByteSwap() functions, based on a patch by Jon
...
Griffiths.
2003-03-19 00:09:57 +00:00
Jon Griffiths
ccf2f6162b
Correct the agument count for RtlInitializeGenericTable().
...
Fix my own brown paper bag in RtlFillMemoryUlong().
RtlGetNtVersionNumbers() should never return < 5.
Remove RtlCopyMemory(), its not an ntdll export.
Implement RtlCompareMemoryUlong(), RtlComputeCrc32().
Documentation updates.
2003-03-18 20:12:07 +00:00
Eric Pouech
84d1a8ff8c
- added LDR_MODULE structure to WINE_MODREF and made dummy filling of
...
this structure
- implementation of LdrFindEntry
- implementation of GetModuleFileName[AW] on top of LdrFindEntry
2003-03-18 18:29:13 +00:00
Jon Griffiths
f8a82b489e
Add RtlDowncaseUnicodeChar(), RtlEqualComputerName(),
...
RtlEqualDomainName(). Documentation updates.
2003-03-15 19:42:11 +00:00
Eric Pouech
32872b1a57
- implementation of LdrLoadDll out of loader/module.c
...
- in impacted functions, ensure that we only use ntdll functions
- for internal loading, start using NTDLL style for error reporting
- making use of new LdrLoadDll
2003-03-14 05:01:20 +00:00
Eric Pouech
1efa50e47e
- implementation of LdrUnloadDll out of loader/module.c
...
- in impacted functions, ensure that we only use ntdll functions
- making use of new LdrUnloadDll
2003-03-14 04:00:52 +00:00
Thomas Mertes
414772ac28
Implement _itoa, _ltoa, _ultoa, _i64toa, _ui64toa, _itow, _ltow,
...
_ultow, _i64tow, _ui64tow, _atoi64, _wtoi, _wtol, _wtoi64.
2003-03-12 20:16:07 +00:00
Eric Pouech
7d6096480a
- added Ldr* information to include/winternl.h
...
- exported a few functions/global vars from module.h while we move
code from loader/module.c to dlls/ntdll/loader.c
- implemented LdrShutdownProcess, LdrShutdownThread and
LdrDisableThreadCalloutsForDll (and made use of them)
2003-03-04 04:36:56 +00:00
Thomas Mertes
f4757bb631
- Implement RtlCharToInteger, RtlExtendedMagicDivide, RtlUpperChar,
...
RtlInt64ToUnicodeString, RtlIntegerToChar, RtlIntegerToUnicodeString,
RtlLargeIntegerToChar, RtlUnicodeStringToInteger and
RtlUpcaseUnicodeChar.
- Use toupperW instead of toupper in RtlCompareUnicodeString.
2003-02-19 03:39:46 +00:00
Robert Shearman
bda22de541
- Add some stubs.
...
- Implement kernel32.FatalExit.
2003-01-13 20:44:13 +00:00
Alexandre Julliard
72e1c64345
Added list of symbols to ignore by default in winebuild.
...
Made the -i option support removing ignored symbols too.
Removed the -noimport flag in spec files.
2002-12-12 02:20:47 +00:00
György 'Nog' Jeney
4d6ba25d4b
- Implement RtlLocalTimeToSystemTime and RtlSystemTimeToLocalTime.
...
- Use new time functions to reimplement FileTimeToLocalTime and
LocalTimeToFileTime.
2002-12-11 00:19:56 +00:00
Alberto Massari
067a981233
Added parameters to NtXxxPort functions prototypes.
2002-12-10 20:04:40 +00:00
Patrik Stridvall
6cd866b0e6
Fixed some issues found by winapi_check.
2002-11-27 20:21:24 +00:00
Steve Lustbader
f1e1fd05eb
Assorted Win2k/WinXP stubs.
2002-11-25 20:50:53 +00:00
György 'Nog' Jeney
6f3015b8ee
- Move SetSystemTime, GetTimeZoneInformation and
...
SetTimeZoneInformation implementation to ntdll.
- Docu updates.
2002-11-25 01:12:39 +00:00
Robert Shearman
59e81ec15a
Implemented RtlUnicodeStringToInteger.
2002-11-12 02:17:34 +00:00
Alexandre Julliard
f8da8541eb
Make sure all Zw functions whose Nt equivalent is implemented are
...
implemented too.
2002-10-10 17:55:48 +00:00
Alexandre Julliard
341b7dceb4
Implemented the ntdll virtual memory functions, and made the kernel
...
functions use them.
2002-09-17 18:54:42 +00:00
Alexandre Julliard
ac7b9d3797
Implemented NtDuplicateObject.
2002-09-16 19:32:50 +00:00
Alexandre Julliard
cea2e825b2
Link all remaining dlls except kernel32 as separated dlls, by
...
temporarily exporting the few functions that are not properly
separated yet.
2002-09-06 18:51:31 +00:00
Patrik Stridvall
fc34344d14
Fixed some issues found by winapi_check.
2002-08-20 00:20:43 +00:00
Jon Griffiths
1da297178a
Implement and test rtl bitmap functions.
...
Add a couple of other misc rtl functions.
2002-08-15 22:08:40 +00:00
Alexandre Julliard
a5dea216cc
Implemented the RtlImage* functions, and use them to replace the
...
PE_HEADER macro.
2002-08-09 19:57:38 +00:00
Eric Pouech
3d4d7e0153
Added a generic mechanism to set up hooks for dispatching signal
...
handlers outside ntdll.
2002-07-31 18:46:09 +00:00
Ryan Cumming
08be8f06cc
Implementation of RtlGetNtVersionNumbers.
2002-07-28 17:49:26 +00:00
Patrik Stridvall
a3868218d0
Fixed some issues found by winapi_check.
2002-07-19 00:30:16 +00:00