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
Alexandre Julliard
77afd6c47e
Made some more spec file entries optional or unnecessary.
...
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Mike McCormack
4e73595a0d
- Partially implement LdrGetDllHandle.
...
- Implement LdrGetProcedureAddress.
2002-06-10 02:28:00 +00:00
Alexandre Julliard
7cae558bdc
Removed some more trailing whitespace.
2002-06-01 02:55:48 +00:00
Alexandre Julliard
be367c7270
Added wine_server_fd_to_handle to replace FILE_DupUnixHandle.
2002-05-30 20:40:02 +00:00
Alexandre Julliard
0aa28b5b8d
Export the debugging API from libwine instead of ntdll.
...
Removed debugres_[aw].
2002-05-17 02:55:48 +00:00
Alexandre Julliard
702b158e70
Export global argc/argv variables from libwine and remove the
...
__wine_get_main_args functions from ntdll.
2002-05-16 23:16:01 +00:00
Alexandre Julliard
9b6f433ebb
Implemented strtolW/strtoulW in libwine_unicode and used it to replace
...
wcstol and friends.
2002-05-16 18:58:47 +00:00
Alexandre Julliard
ad53383f9b
Added winebuild support for generating a .dbg.c file containing the
...
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Juergen Schmied
5ec1b0d121
Corrected RtlConvertSidToUnicodeString, stub for VerSetConditionMask.
2002-05-09 20:30:52 +00:00
Alexandre Julliard
8d1550d1c6
Export the FILE_GetUnixHandle functionality from ntdll.
2002-03-23 18:48:12 +00:00
Peter Hunnisett
3290038929
Add spec stub for RtlGetNtVersionNumbers.
2002-02-22 21:21:38 +00:00
Dmitry Timoshkov
1e55094e8a
Added LdrDisableThreadCalloutsForDll.
2002-01-29 18:30:16 +00:00
Alexandre Julliard
466b2b474a
Updated debug channels.
2002-01-12 21:17:10 +00:00
Alexandre Julliard
b0f586178a
Moved heap functions to ntdll.
...
Got rid of internal heap flags.
Reimplemented MapLS to not depend on the segptr heap.
2001-12-19 19:16:27 +00:00
Alexandre Julliard
7662ea1004
Made register and interrupt flags instead of entry point types, so
...
that we can have both stdcall and cdecl register functions.
Changed 16-bit .spec.c file generation to avoid including builtin16.h.
2001-12-14 23:14:22 +00:00
Alexandre Julliard
eb9a863116
Exported CALL32_Regs from ntdll, renamed to __wine_call_from_32_regs
...
to follow the naming convention for this type of functions.
Split 16 and 32-bit relay functions into separate files, and moved the
32-bit ones to dlls/ntdll.
2001-12-11 00:50:33 +00:00
Alexandre Julliard
996c0bff59
Removed ntdll dependency on MultiByteToWideChar/WideCharToMultiByte
...
kernel32 functions, plus a few small cleanups.
2001-12-05 22:14:57 +00:00
Alexandre Julliard
8cd55d0eba
Moved most of the real-mode stuff to dlls/winedos.
2001-12-04 19:54:44 +00:00
Alexandre Julliard
9caa71eef4
Redesign of the server communication protocol to allow arbitrary sized
...
data to be exchanged.
Split request and reply structures to make backwards compatibility
easier.
Moved many console functions to dlls/kernel, added code page support,
changed a few requests to behave properly with the new protocol.
2001-11-30 18:46:42 +00:00
David Elliott
bfa70fe642
Implemented the wcstoul function.
2001-10-22 18:58:21 +00:00
Dmitry Timoshkov
29fdbe9f98
Correct .spec file parameters for msvcrt._fullpath and ntdll._splitpath.
2001-09-07 15:25:31 +00:00
Patrik Stridvall
83dbdceba3
Fixed issue found by winapi_check.
2001-07-14 00:49:03 +00:00
Patrik Stridvall
655b2044d9
Fixed issues found by winapi_check.
2001-07-08 22:32:51 +00:00
Francois Gouget
e17d1a3649
Print the tid in the first column when +tid is specified.
2001-05-08 00:13:38 +00:00
Ove Kaaven
54dfe595ca
Implemented _wtoi and _wtol.
2001-04-16 20:24:47 +00:00
Marcus Meissner
7e4741d1fd
Added some stubs for functions used by newer rpcrt4 dlls.
2001-04-09 18:34:49 +00:00
Alexandre Julliard
67a749999a
New set of macros for server calls; makes requests without variable
...
part somewhat faster.
2001-02-27 02:09:16 +00:00
Jon Griffiths
4ab1558d8a
- Remove <string.h> from winnt.h.
...
- ntdll: complete crt functions, prevent libc imports, fix sscanf.
2001-01-22 02:17:29 +00:00
Alexandre Julliard
a90797d09d
Updated debug channels.
2001-01-15 20:23:05 +00:00
Gerard Patel
a77fd7df9d
Added a specific debug channel for dll loading (builtin/native).
2001-01-10 22:54:02 +00:00
Alexandre Julliard
909eff9932
Added support for Unicode applications in winebuild.
...
Removed cuiexe_no_main hack.
Avoid stdcall function declarations inside functions because of gcc bug.
2000-12-15 03:38:11 +00:00
Eric Kohl
32eeb85cd6
Implemented _ultow() and export [Nt/Zw]QueryVolumeInformationFile().
2000-12-13 21:28:15 +00:00
Alexandre Julliard
84f91bd3fc
Removed no longer used elfdll loader.
2000-12-09 03:25:34 +00:00
Alexandre Julliard
48d0c5fd65
Authors: Andrew Lewycky <andrew@transgaming.com>, Ove Kaaven <ovek@transgaming.com>
...
De-stub sin() and cos().
Add noimport flag to sin(), cos(), and pow().
2000-12-07 23:53:47 +00:00
Alexandre Julliard
633293f093
Build the debugger as a .so.
2000-12-06 03:20:47 +00:00
Alexandre Julliard
42a7320388
Export the wine server functions from ntdll.
2000-11-30 18:51:58 +00:00