Eric Kohl [Tue, 13 Jul 2004 16:59:35 +0000 (16:59 +0000)]
First experimental implementstion of NtAccessCheck().
This should fix bug #362.
svn path=/trunk/; revision=10108
Eric Kohl [Tue, 13 Jul 2004 16:57:35 +0000 (16:57 +0000)]
Move some access rights so they are usable form kernel-mode.
svn path=/trunk/; revision=10107
Eric Kohl [Tue, 13 Jul 2004 11:52:09 +0000 (11:52 +0000)]
RtlImpersonateSelf(): Set impersonation level in call to NtDuplicateToken().
svn path=/trunk/; revision=10106
Eric Kohl [Tue, 13 Jul 2004 11:48:32 +0000 (11:48 +0000)]
NtOpenThreadToken() opens the thread token if OpenAsSelf is FALSE.
svn path=/trunk/; revision=10105
Eric Kohl [Tue, 13 Jul 2004 08:43:35 +0000 (08:43 +0000)]
NtDuplicateToken() must create and return a handle to the duplicated token.
svn path=/trunk/; revision=10104
James Tabor [Tue, 13 Jul 2004 02:43:06 +0000 (02:43 +0000)]
Force a rebuild of the partition table if it already exists with a DeviceObject.
svn path=/trunk/; revision=10103
Gé van Geldorp [Mon, 12 Jul 2004 22:34:27 +0000 (22:34 +0000)]
SetLogonNotifyWindow is now implemented
svn path=/trunk/; revision=10102
Gé van Geldorp [Mon, 12 Jul 2004 22:07:34 +0000 (22:07 +0000)]
Fix RestartDialog() and RestartDialogEx() prototypes
svn path=/trunk/; revision=10101
Gé van Geldorp [Mon, 12 Jul 2004 22:03:09 +0000 (22:03 +0000)]
Robert Shearman <R.J.Shearman@warwick.ac.uk>
- Make ole32 a delay-load import of shell32.
(except that the ReactOS build system doesn't handle delay-load imports
yet, so make it a normal import)
svn path=/trunk/; revision=10100
Gé van Geldorp [Mon, 12 Jul 2004 22:01:22 +0000 (22:01 +0000)]
Fix syntax problem for some windres versions
svn path=/trunk/; revision=10099
Gé van Geldorp [Mon, 12 Jul 2004 21:26:39 +0000 (21:26 +0000)]
Ilya Korniyko <k_ilya@ukr.net>
- Added Ukrainian translations.
Jos� Manuel Ferrer Ortiz <jmfo1982@yahoo.es>
- Updated the Spanish shell32 translation and made some corrections to
other language files.
svn path=/trunk/; revision=10098
Gé van Geldorp [Mon, 12 Jul 2004 20:53:24 +0000 (20:53 +0000)]
Use string resources for ExitWindowsDialog() and RestartDialogEx() to allow
internationalization.
svn path=/trunk/; revision=10097
Gé van Geldorp [Mon, 12 Jul 2004 20:32:16 +0000 (20:32 +0000)]
Marcus Meissner <marcus@jet.franken.de>
- Fixed double applet = applet = assignment.
- Removed sic_hdpa only used in 1 C file as static var.
- Make VT_Shell_IMalloc32 and related variables static.
svn path=/trunk/; revision=10096
Gé van Geldorp [Mon, 12 Jul 2004 20:26:35 +0000 (20:26 +0000)]
Shutdown step 1: inform winlogon (forgotten file)
svn path=/trunk/; revision=10095
Gé van Geldorp [Mon, 12 Jul 2004 20:09:35 +0000 (20:09 +0000)]
Shutdown step 1: inform winlogon
svn path=/trunk/; revision=10094
Eric Kohl [Mon, 12 Jul 2004 19:39:29 +0000 (19:39 +0000)]
Replace hardcoded values by new constants.
svn path=/trunk/; revision=10092
Thomas Bluemel [Mon, 12 Jul 2004 16:27:46 +0000 (16:27 +0000)]
forgot to export 2 functions
svn path=/trunk/; revision=10091
Thomas Bluemel [Mon, 12 Jul 2004 16:04:37 +0000 (16:04 +0000)]
implementation of HidD_GetHidGuid()
svn path=/trunk/; revision=10090
Thomas Bluemel [Mon, 12 Jul 2004 15:08:43 +0000 (15:08 +0000)]
added stubs for the Hid User Library (hid.dll)
svn path=/trunk/; revision=10089
Eric Kohl [Mon, 12 Jul 2004 13:51:29 +0000 (13:51 +0000)]
Define missing PNTSTATUS.
svn path=/trunk/; revision=10088
Eric Kohl [Mon, 12 Jul 2004 12:05:49 +0000 (12:05 +0000)]
Fix NtAccessCheck() prototype.
svn path=/trunk/; revision=10087
Thomas Bluemel [Mon, 12 Jul 2004 10:33:04 +0000 (10:33 +0000)]
simplified dynamic loading of dlls
svn path=/trunk/; revision=10086
Thomas Bluemel [Sun, 11 Jul 2004 23:08:31 +0000 (23:08 +0000)]
removed wrong comments
svn path=/trunk/; revision=10085
Thomas Bluemel [Sun, 11 Jul 2004 22:35:07 +0000 (22:35 +0000)]
do not statically link to ole32.dll, import the functions dynamically instead. This is required since winlogon statically links to userenv.dll and then ole32.dll would automatically be loaded which causes ole32.dll to register a window class before the first window station is created (-> the ole32 window class(es) couldn't be registered). Besides it's bad to have winlogon depend on ole32.dll
svn path=/trunk/; revision=10083
Gé van Geldorp [Sun, 11 Jul 2004 16:23:12 +0000 (16:23 +0000)]
Use default PATHEXT if none found in environment
svn path=/trunk/; revision=10082
Gé van Geldorp [Sun, 11 Jul 2004 16:13:44 +0000 (16:13 +0000)]
Jens Collin <jens.collin@lakhei.com>
Add PATHEXT env var and use it to locate command
svn path=/trunk/; revision=10081
Eric Kohl [Sun, 11 Jul 2004 16:09:37 +0000 (16:09 +0000)]
Add missing security constants.
svn path=/trunk/; revision=10080
Eric Kohl [Sun, 11 Jul 2004 13:33:40 +0000 (13:33 +0000)]
Fix typo in SetSecurityDescriptorOwner().
svn path=/trunk/; revision=10079
Thomas Bluemel [Sun, 11 Jul 2004 13:31:28 +0000 (13:31 +0000)]
register the winlogon application directly after startup
svn path=/trunk/; revision=10078
Filip Navara [Sun, 11 Jul 2004 02:10:48 +0000 (02:10 +0000)]
- Fixed locking in NtGdiGetCharWidth32. This caused problems with AbiWord reported by Jason Filby.
svn path=/trunk/; revision=10076
Thomas Bluemel [Sat, 10 Jul 2004 23:25:17 +0000 (23:25 +0000)]
added a key security editor (not yet working properly)
svn path=/trunk/; revision=10075
Thomas Bluemel [Sat, 10 Jul 2004 23:23:06 +0000 (23:23 +0000)]
added some missing definitions
svn path=/trunk/; revision=10074
Gero Kuehn [Sat, 10 Jul 2004 22:27:18 +0000 (22:27 +0000)]
added SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
svn path=/trunk/; revision=10073
Gero Kuehn [Sat, 10 Jul 2004 22:06:40 +0000 (22:06 +0000)]
fixed PROPSHEETHEADER nPages calculation
svn path=/trunk/; revision=10072
Gero Kuehn [Sat, 10 Jul 2004 21:58:35 +0000 (21:58 +0000)]
copied HalRequestSoftwareInterrupt from uniproc irql.c to fix SMP builds
svn path=/trunk/; revision=10071
Steven Edwards [Sat, 10 Jul 2004 21:44:14 +0000 (21:44 +0000)]
added expand.exe and msvfw32.dll to the build.
svn path=/trunk/; revision=10070
Gé van Geldorp [Sat, 10 Jul 2004 21:23:18 +0000 (21:23 +0000)]
Roll back __USE_W32API test, add _tsplitpath definition
svn path=/trunk/; revision=10069
Steven Edwards [Sat, 10 Jul 2004 21:19:46 +0000 (21:19 +0000)]
Added msvfw32 ported from Wine. This fixes bug 388.
svn path=/trunk/; revision=10068
Eric Kohl [Sat, 10 Jul 2004 21:15:26 +0000 (21:15 +0000)]
Fix default DACL of the logon token.
svn path=/trunk/; revision=10067
Steven Edwards [Sat, 10 Jul 2004 21:11:13 +0000 (21:11 +0000)]
Removed Microsoft code.
svn path=/trunk/; revision=10066
Hartmut Birr [Sat, 10 Jul 2004 17:01:03 +0000 (17:01 +0000)]
- Implemented NtQueryVirtualMemory for unallocated regions.
- Fixed some minor bugs in NtQueryVirtualMemory and its related query functions.
svn path=/trunk/; revision=10065
Thomas Bluemel [Sat, 10 Jul 2004 14:38:24 +0000 (14:38 +0000)]
export GetSecurityInfo()
svn path=/trunk/; revision=10064
Eric Kohl [Sat, 10 Jul 2004 13:12:24 +0000 (13:12 +0000)]
Create group SIDs for logon token.
svn path=/trunk/; revision=10063
Eric Kohl [Sat, 10 Jul 2004 13:11:18 +0000 (13:11 +0000)]
Fix RtlEqualSid().
svn path=/trunk/; revision=10062
Hartmut Birr [Sat, 10 Jul 2004 13:08:02 +0000 (13:08 +0000)]
- Fixed the return value in VirtualQueryEx if NtQueryVirtualMemory returns an error.
svn path=/trunk/; revision=10061
Hartmut Birr [Sat, 10 Jul 2004 13:05:08 +0000 (13:05 +0000)]
- Fixed the comparing of video modes in IntInitScreenInfo.
svn path=/trunk/; revision=10060
Gé van Geldorp [Fri, 9 Jul 2004 20:57:38 +0000 (20:57 +0000)]
FindWindow() should search the threads desktop, not the active one.
svn path=/trunk/; revision=10059
Filip Navara [Fri, 9 Jul 2004 20:28:20 +0000 (20:28 +0000)]
- Implementation of [NtGdi]GetTextFace[W] and [NtGdi]GetFontData[W].
- Print a message for unimplemented functions in GDI32.dll.
svn path=/trunk/; revision=10058
Thomas Bluemel [Fri, 9 Jul 2004 20:18:49 +0000 (20:18 +0000)]
added skeleton for acledit.dll
svn path=/trunk/; revision=10056
Filip Navara [Fri, 9 Jul 2004 20:14:49 +0000 (20:14 +0000)]
- Some application depend on Info->RegionSize set by NtQueryVirtualMemory for iteration. We had a workaround here for this behaviour until a correct implementation is written, but it was limited for addresses lower than 0x70000000. Raise that limit to 0x80000000.
svn path=/trunk/; revision=10055
Filip Navara [Fri, 9 Jul 2004 20:13:00 +0000 (20:13 +0000)]
- Handle UnsafeRect == NULL case in NtUserGetUpdateRect.
svn path=/trunk/; revision=10054
Filip Navara [Fri, 9 Jul 2004 20:10:45 +0000 (20:10 +0000)]
- Since LookupAccountSidA is unimplemented, but returns success, we should at least fill the output parameters with some reasonable values.
svn path=/trunk/; revision=10053
Filip Navara [Fri, 9 Jul 2004 20:09:35 +0000 (20:09 +0000)]
- DrawIcon should return TRUE if it succeeds.
svn path=/trunk/; revision=10052
Filip Navara [Fri, 9 Jul 2004 20:08:48 +0000 (20:08 +0000)]
- Display window icon only if there is any.
svn path=/trunk/; revision=10051
Filip Navara [Fri, 9 Jul 2004 20:08:05 +0000 (20:08 +0000)]
- Corrected the obtaining of TLS callbacks address.
svn path=/trunk/; revision=10050
Filip Navara [Fri, 9 Jul 2004 20:06:40 +0000 (20:06 +0000)]
- Fixed dispatching of nested exceptions.
svn path=/trunk/; revision=10049
Filip Navara [Fri, 9 Jul 2004 20:04:05 +0000 (20:04 +0000)]
- Added ordinal numbers.
svn path=/trunk/; revision=10048
Thomas Bluemel [Fri, 9 Jul 2004 15:53:34 +0000 (15:53 +0000)]
set the control focus when clicking on it
svn path=/trunk/; revision=10047
Gé van Geldorp [Thu, 8 Jul 2004 22:05:48 +0000 (22:05 +0000)]
Fix lib/rosrtl compilation
svn path=/trunk/; revision=10039
Eric Kohl [Thu, 8 Jul 2004 14:41:38 +0000 (14:41 +0000)]
Register the logon process.
svn path=/trunk/; revision=10037
Eric Kohl [Thu, 8 Jul 2004 14:36:18 +0000 (14:36 +0000)]
Fix RegisterLogonProcess().
svn path=/trunk/; revision=10036
Filip Navara [Thu, 8 Jul 2004 12:55:01 +0000 (12:55 +0000)]
- Honor the "Extended" bit in SetKeyState.
svn path=/trunk/; revision=10035
Thomas Bluemel [Thu, 8 Jul 2004 10:32:18 +0000 (10:32 +0000)]
added a very basic timer queue test program
svn path=/trunk/; revision=10034
Art Yerkes [Thu, 8 Jul 2004 06:39:30 +0000 (06:39 +0000)]
Fixed OskitTCPSend prototype.
sleep: removed blocking. not needed anymore.
Made socket non-blocking with respect to oskit.
removed unneeded panic in sbflush.
removed unneeded stats keeping. This info is better kept by tcpip.sys
svn path=/trunk/; revision=10033
Art Yerkes [Thu, 8 Jul 2004 06:36:04 +0000 (06:36 +0000)]
Fixed for TCPIP
Regularized TCPSendData and TCPReceiveData parameters and calling.
Added number of bytes IoStatus for TDI_SEND_DATAGRAM and TDI_SEND as
specified in the OSR entry for TDI_SEND_DATAGRAM.
Fixed IRQL in packet send event. We now use KeRaiseIrql to make sure we're
in DISPATCH_LEVEL.
Fixed socket state callback for new afd. Now fully based on io completion.
svn path=/trunk/; revision=10032
Thomas Bluemel [Thu, 8 Jul 2004 00:48:12 +0000 (00:48 +0000)]
fixed debug output
svn path=/trunk/; revision=10031
Thomas Bluemel [Thu, 8 Jul 2004 00:46:22 +0000 (00:46 +0000)]
Fixed handling of NULL arguments in ChangeDisplaySettings(Ex)(). Patch by blight.
svn path=/trunk/; revision=10030
Thomas Bluemel [Thu, 8 Jul 2004 00:40:31 +0000 (00:40 +0000)]
1. implemented the timer queue functions of kernel32 (I tested the implementation of CreateTimerQueueTimer() and DeleteTimerQueueTimer() on windows)
2. export the timer queue Rtl* stubs of ntdll
svn path=/trunk/; revision=10029
Gé van Geldorp [Wed, 7 Jul 2004 22:29:37 +0000 (22:29 +0000)]
Add command-line shutdown/logoff utility
svn path=/trunk/; revision=10028
Eric Kohl [Wed, 7 Jul 2004 17:20:35 +0000 (17:20 +0000)]
Add ACCESS_STATE and INITIAL_PRIVILEGE_SET.
svn path=/trunk/; revision=10020
Filip Navara [Wed, 7 Jul 2004 17:03:32 +0000 (17:03 +0000)]
- Updated system colors.
svn path=/trunk/; revision=10019
Filip Navara [Wed, 7 Jul 2004 16:54:43 +0000 (16:54 +0000)]
- Use LinBytesPerScanLine (value for linar framebuffer modes) instead of BytesPerScanLine for VBE 3.0 controllers.
svn path=/trunk/; revision=10018
Filip Navara [Wed, 7 Jul 2004 16:50:54 +0000 (16:50 +0000)]
- Return image name in SymGetModuleInfo since some applications use it for determining path. It's still a stub though.
svn path=/trunk/; revision=10017
Thomas Bluemel [Wed, 7 Jul 2004 16:47:43 +0000 (16:47 +0000)]
added missing cvsignore file
svn path=/trunk/; revision=10016
Filip Navara [Wed, 7 Jul 2004 16:36:08 +0000 (16:36 +0000)]
- Don't create XLATEOBJ for BitBlt and StretchBlt operations that don't use source DC.
svn path=/trunk/; revision=10015
Filip Navara [Wed, 7 Jul 2004 16:34:33 +0000 (16:34 +0000)]
- Fixed ExcludeClipRgn for case when DC contained no clipping region before the call to this function.
svn path=/trunk/; revision=10014
Filip Navara [Wed, 7 Jul 2004 16:33:44 +0000 (16:33 +0000)]
- Handle allocation failure in IntCreateBitmap.
- Don't allow creating surface with BitmapFormat == 0 (Invalid) in IntCreateSurface.
svn path=/trunk/; revision=10013
Filip Navara [Wed, 7 Jul 2004 16:32:02 +0000 (16:32 +0000)]
- Imporved implementation of UnhandledExceptionFilter.
- Moved most of code from _except_handler in process/create.c to UnhandledExceptionFilter and changed _except_handler to call it.
svn path=/trunk/; revision=10012
Filip Navara [Wed, 7 Jul 2004 16:28:35 +0000 (16:28 +0000)]
- Fixed NtQueryInformationProcess to return STATUS_NOT_IMPLEMENTED for unimplemented cases.
svn path=/trunk/; revision=10011
Filip Navara [Wed, 7 Jul 2004 16:25:00 +0000 (16:25 +0000)]
- Fixed RtlUnwind to correctly remove SEH frames and not to call ZwContinue.
svn path=/trunk/; revision=10010
Filip Navara [Wed, 7 Jul 2004 16:22:22 +0000 (16:22 +0000)]
- Add VBE video mode registry. (Gerard Gatineau asked for it)
svn path=/trunk/; revision=10009
Eric Kohl [Wed, 7 Jul 2004 09:42:58 +0000 (09:42 +0000)]
Implement environment variable dialog.
svn path=/trunk/; revision=10008
Gé van Geldorp [Wed, 7 Jul 2004 08:41:47 +0000 (08:41 +0000)]
Set default (Administrator) privileges when logging on
svn path=/trunk/; revision=10007
Gé van Geldorp [Wed, 7 Jul 2004 08:39:54 +0000 (08:39 +0000)]
Silence debug messages
svn path=/trunk/; revision=10006
Gé van Geldorp [Tue, 6 Jul 2004 22:08:48 +0000 (22:08 +0000)]
Implement LookupPrivilegeValueW for local machine
svn path=/trunk/; revision=10005
Gé van Geldorp [Tue, 6 Jul 2004 22:07:26 +0000 (22:07 +0000)]
Make AdjustTokenPrivileges confirm to MSDN-documented behaviour:
- return FALSE on error with appropriate LastError
- return TRUE with LastError == ERROR_NOT_ALL_ASSIGNED if not all
privileges could be adjusted
- return TRUE with LastError == ERROR_SUCCESS if all privileges
were successfully adjusted
svn path=/trunk/; revision=10004
Royce Mitchell III [Mon, 5 Jul 2004 22:33:14 +0000 (22:33 +0000)]
fixed typo
svn path=/trunk/; revision=10003
Gé van Geldorp [Mon, 5 Jul 2004 22:12:45 +0000 (22:12 +0000)]
Patch by Jens Collin <jens.collin@lakhei.com>
Fixes autocompletion, see bug #177
svn path=/trunk/; revision=10002
Hartmut Birr [Mon, 5 Jul 2004 21:44:27 +0000 (21:44 +0000)]
- Check for a valid buffer on a call to IOCTL_DISK_CHECK_VERIFY.
svn path=/trunk/; revision=10001
Hartmut Birr [Mon, 5 Jul 2004 21:42:05 +0000 (21:42 +0000)]
- Removed IOCTL_DISK_CHECK_VERIFY. We must use the port driver to detect the current state of the drive.
svn path=/trunk/; revision=10000
Hartmut Birr [Mon, 5 Jul 2004 21:39:02 +0000 (21:39 +0000)]
- Removed the using of the media change count to recognize a median change.
svn path=/trunk/; revision=9999
Jason Filby [Sun, 4 Jul 2004 18:11:49 +0000 (18:11 +0000)]
lstrcpy and lstrcat should return NULL if the string to copy to is NULL instead of crashing; verified by a test app on Windows XP
svn path=/trunk/; revision=9998
Filip Navara [Sun, 4 Jul 2004 17:22:33 +0000 (17:22 +0000)]
- Fixed NumLock, CapsLock and ScrollLock handling in ConioGetShiftState.
svn path=/trunk/; revision=9997
Filip Navara [Sun, 4 Jul 2004 17:09:45 +0000 (17:09 +0000)]
- Use absolute value of the color difference when calculating color match rating.
svn path=/trunk/; revision=9996
Filip Navara [Sun, 4 Jul 2004 17:08:40 +0000 (17:08 +0000)]
- Guard against out of bounds access to KeyboardLayout->pusVSCtoVK in W32kKeyProcessMessage.
- Fixed SetKeyState to correctly index the keyboard state table.
svn path=/trunk/; revision=9995
Filip Navara [Sun, 4 Jul 2004 12:00:40 +0000 (12:00 +0000)]
- Fix GDI object locking broken by this patch:
http://reactos.com:8080/archives/public/ros-cvs/2004-July/004334.html
svn path=/trunk/; revision=9994
Filip Navara [Sun, 4 Jul 2004 11:18:56 +0000 (11:18 +0000)]
- Send the cursor to display driver in top-down format.
svn path=/trunk/; revision=9993
Hartmut Birr [Sun, 4 Jul 2004 08:30:28 +0000 (08:30 +0000)]
- Fixed a bug in IoCsqRemoveIrp and IoCsqRemoveNextIrp.
svn path=/trunk/; revision=9992
Gé van Geldorp [Sun, 4 Jul 2004 06:56:41 +0000 (06:56 +0000)]
Mike McCormack <mike@codeweavers.com>
- Fix a buffer overrun in autocomplete.
svn path=/trunk/; revision=9991
Filip Navara [Sun, 4 Jul 2004 02:01:02 +0000 (02:01 +0000)]
- Don't continue execution if there is no exception handler. It's common that continuing such execution would result in the same exception again and thus creating infinite loop.
svn path=/trunk/; revision=9990