reactos.git
19 years agolatest version of ArchBlackmann
Royce Mitchell III [Wed, 20 Apr 2005 18:16:32 +0000 (18:16 +0000)]
latest version of ArchBlackmann

svn path=/trunk/; revision=14717

19 years agoPackageManager: Changed download Server back to http://svn.reactos.com
Maarten Bosma [Wed, 20 Apr 2005 12:52:36 +0000 (12:52 +0000)]
PackageManager: Changed download Server back to svn.reactos.com

svn path=/trunk/; revision=14712

19 years agoRemove bogus error message. It is normal for Mutex creation to fail since the Object...
Alex Ionescu [Wed, 20 Apr 2005 12:52:13 +0000 (12:52 +0000)]
Remove bogus error message. It is normal for Mutex creation to fail since the Object will alredy exist after the first time it's created

svn path=/trunk/; revision=14711

19 years agoDon't relocate shell32 and gdi32. Changed their base addresses so they fit better
Alex Ionescu [Wed, 20 Apr 2005 12:46:39 +0000 (12:46 +0000)]
Don't relocate shell32 and gdi32. Changed their base addresses so they fit better

svn path=/trunk/; revision=14710

19 years agoYou can ask for e.g. GWL_STYLE for the desktop window,
Gé van Geldorp [Wed, 20 Apr 2005 07:25:14 +0000 (07:25 +0000)]
You can ask for e.g. GWL_STYLE for the desktop window,
but GWL_WNDPROC is off-limits for all windows if your
process didn't create it

svn path=/trunk/; revision=14709

19 years agodon't access pagable memory at dispatch level in NtQueryDirectoryObject
Thomas Bluemel [Tue, 19 Apr 2005 22:45:48 +0000 (22:45 +0000)]
don't access pagable memory at dispatch level in NtQueryDirectoryObject

svn path=/trunk/; revision=14708

19 years agoHervé Poussineau <poussine@freesurf.fr>
Gé van Geldorp [Tue, 19 Apr 2005 22:33:09 +0000 (22:33 +0000)]
Hervé Poussineau <poussine@freesurf.fr>
Solve quarrel between GDB stub and serenum

svn path=/trunk/; revision=14707

19 years agoconvert the device object to a temporary device before deleting it
Thomas Bluemel [Tue, 19 Apr 2005 21:47:05 +0000 (21:47 +0000)]
convert the device object to a temporary device before deleting it

svn path=/trunk/; revision=14706

19 years agouse anonymous events for synchronization
Thomas Bluemel [Tue, 19 Apr 2005 17:13:34 +0000 (17:13 +0000)]
use anonymous events for synchronization

svn path=/trunk/; revision=14704

19 years ago- Delete named objects from the namespace when the last handle is closed, unless...
Thomas Bluemel [Tue, 19 Apr 2005 17:12:03 +0000 (17:12 +0000)]
- Delete named objects from the namespace when the last handle is closed, unless the object is a permanent object
- IoCreateDevice should create a permanent object for named devices

svn path=/trunk/; revision=14703

19 years agoimport wininet.h from wine to solve conflicts with the w32api headers
Thomas Bluemel [Tue, 19 Apr 2005 15:06:18 +0000 (15:06 +0000)]
import wininet.h from wine to solve conflicts with the w32api headers

svn path=/trunk/; revision=14702

19 years agofix typo
Thomas Bluemel [Tue, 19 Apr 2005 10:40:37 +0000 (10:40 +0000)]
fix typo

svn path=/trunk/; revision=14701

19 years agodirectly redirect MapGenericMask to ntdll
Thomas Bluemel [Tue, 19 Apr 2005 10:36:11 +0000 (10:36 +0000)]
directly redirect MapGenericMask to ntdll

svn path=/trunk/; revision=14700

19 years agoMake disk partition handling architecture dependent, as not
Gé van Geldorp [Tue, 19 Apr 2005 08:51:16 +0000 (08:51 +0000)]
Make disk partition handling architecture dependent, as not
all architectures have partitions

svn path=/trunk/; revision=14698

19 years agodamn fingers were too fast. sorry, reverting
Alex Ionescu [Tue, 19 Apr 2005 06:26:01 +0000 (06:26 +0000)]
damn fingers were too fast. sorry, reverting

svn path=/trunk/; revision=14697

19 years agoUse MmDeleteKernelStack and remove KeReleaseThread
Alex Ionescu [Tue, 19 Apr 2005 06:24:15 +0000 (06:24 +0000)]
Use MmDeleteKernelStack and remove KeReleaseThread

svn path=/trunk/; revision=14696

19 years agoUse MmDeleteKernelStack and remove KeReleaseThread
Alex Ionescu [Tue, 19 Apr 2005 06:22:36 +0000 (06:22 +0000)]
Use MmDeleteKernelStack and remove KeReleaseThread

svn path=/trunk/; revision=14695

19 years agodone with wininet import
Steven Edwards [Tue, 19 Apr 2005 05:01:47 +0000 (05:01 +0000)]
done with wininet import

svn path=/trunk/; revision=14694

19 years agoadded wine wininet.h
Steven Edwards [Tue, 19 Apr 2005 05:00:05 +0000 (05:00 +0000)]
added wine wininet.h

svn path=/trunk/; revision=14693

19 years agoimported wininet from wine
Steven Edwards [Tue, 19 Apr 2005 04:57:39 +0000 (04:57 +0000)]
imported wininet from wine

svn path=/trunk/; revision=14692

19 years agoimported in to the trunk
Steven Edwards [Tue, 19 Apr 2005 04:50:10 +0000 (04:50 +0000)]
imported in to the trunk

svn path=/trunk/; revision=14691

19 years agoremoving wininet for reimport
Steven Edwards [Tue, 19 Apr 2005 04:49:49 +0000 (04:49 +0000)]
removing wininet for reimport

svn path=/trunk/; revision=14690

19 years agoimported in to the trunk
Steven Edwards [Tue, 19 Apr 2005 04:48:51 +0000 (04:48 +0000)]
imported in to the trunk

svn path=/trunk/; revision=14689

19 years agoReenable ControlService and fix syntax errors in svcctl.idl.
Filip Navara [Mon, 18 Apr 2005 22:11:46 +0000 (22:11 +0000)]
Reenable ControlService and fix syntax errors in svcctl.idl.

svn path=/trunk/; revision=14686

19 years agoFix copy/paste error
Gé van Geldorp [Mon, 18 Apr 2005 22:00:52 +0000 (22:00 +0000)]
Fix copy/paste error

svn path=/trunk/; revision=14685

19 years agoDon't use pointer to freed memory.
Filip Navara [Mon, 18 Apr 2005 21:50:08 +0000 (21:50 +0000)]
Don't use pointer to freed memory.

svn path=/trunk/; revision=14684

19 years agoDisable ControlService() because of a bug in WIDL.
Eric Kohl [Mon, 18 Apr 2005 21:34:11 +0000 (21:34 +0000)]
Disable ControlService() because of a bug in WIDL.

svn path=/trunk/; revision=14683

19 years agodon't query additional information for the system idle process (which doesn't work...
Thomas Bluemel [Mon, 18 Apr 2005 21:03:33 +0000 (21:03 +0000)]
don't query additional information for the system idle process (which doesn't work anyway)

svn path=/trunk/; revision=14682

19 years agoImplement IOCTL_VIDEO_QUERY_AVAIL_MODES, IOCTL_VIDEO_QUERY_CURRENT_MODE, IOCTL_VIDEO_...
Hervé Poussineau [Mon, 18 Apr 2005 20:18:06 +0000 (20:18 +0000)]
Implement IOCTL_VIDEO_QUERY_AVAIL_MODES, IOCTL_VIDEO_QUERY_CURRENT_MODE, IOCTL_VIDEO_QUERY_NUM_AVAIL_MODES
Add checks to input/output structure sizes
Move prototypes to new file vgamp.h

svn path=/trunk/; revision=14681

19 years agoPackageManager: Changed Makefiles
Maarten Bosma [Mon, 18 Apr 2005 19:56:45 +0000 (19:56 +0000)]
PackageManager: Changed Makefiles

svn path=/trunk/; revision=14680

19 years agoPackageManager: TARGET_INSTALLDIR = bin
Maarten Bosma [Mon, 18 Apr 2005 19:41:15 +0000 (19:41 +0000)]
PackageManager: TARGET_INSTALLDIR = bin

svn path=/trunk/; revision=14679

19 years agofix uninitialized variable
Thomas Bluemel [Mon, 18 Apr 2005 19:26:12 +0000 (19:26 +0000)]
fix uninitialized variable

svn path=/trunk/; revision=14678

19 years agoPackageManager: added missing package.h
Maarten Bosma [Mon, 18 Apr 2005 19:22:50 +0000 (19:22 +0000)]
PackageManager: added missing package.h

svn path=/trunk/; revision=14677

19 years agoFix remaining System Process information structure issues and fix compilation
Alex Ionescu [Mon, 18 Apr 2005 18:24:06 +0000 (18:24 +0000)]
Fix remaining System Process information structure issues and fix compilation

svn path=/trunk/; revision=14676

19 years agoFix Process/Thread information structures to match Windows 2000 and have proper struc...
Alex Ionescu [Mon, 18 Apr 2005 17:48:01 +0000 (17:48 +0000)]
Fix Process/Thread information structures to match Windows 2000 and have proper structure. Fix bug in ntdll related to OpenProcess

svn path=/trunk/; revision=14675

19 years agoFix Process/Thread information structures to match Windows 2000 and have proper struc...
Alex Ionescu [Mon, 18 Apr 2005 17:46:59 +0000 (17:46 +0000)]
Fix Process/Thread information structures to match Windows 2000 and have proper structure. Fix bug in ntdll related to OpenProcess

svn path=/trunk/; revision=14674

19 years agoFix incorrect replacement
Alex Ionescu [Mon, 18 Apr 2005 16:25:53 +0000 (16:25 +0000)]
Fix incorrect replacement

svn path=/trunk/; revision=14673

19 years agoRemove excess debugging
Alex Ionescu [Mon, 18 Apr 2005 15:51:21 +0000 (15:51 +0000)]
Remove excess debugging

svn path=/trunk/; revision=14672

19 years agoUse official THREAD_STATE enumeration for thread states
Alex Ionescu [Mon, 18 Apr 2005 15:49:57 +0000 (15:49 +0000)]
Use official THREAD_STATE enumeration for thread states

svn path=/trunk/; revision=14671

19 years agoFix win32k
Alex Ionescu [Mon, 18 Apr 2005 14:56:52 +0000 (14:56 +0000)]
Fix win32k

svn path=/trunk/; revision=14670

19 years agoForgot this...sorry..it was 3am
Alex Ionescu [Mon, 18 Apr 2005 14:13:03 +0000 (14:13 +0000)]
Forgot this...sorry..it was 3am

svn path=/trunk/; revision=14669

19 years agoRoman Hoegg <roman.hoegg@unisg.ch>
Gé van Geldorp [Mon, 18 Apr 2005 13:27:16 +0000 (13:27 +0000)]
Roman Hoegg <roman.hoegg@unisg.ch>
Add support for Swiss German keyboards

svn path=/trunk/; revision=14668

19 years agoImplement PsGetVersion. OSR and other sources say that the build number is a mix...
Alex Ionescu [Mon, 18 Apr 2005 05:47:13 +0000 (05:47 +0000)]
Implement PsGetVersion. OSR and other sources say that the build number is a mix of high and low word, where the high represents checked or free

svn path=/trunk/; revision=14667

19 years agoFix Access Bug. cmd.exe and taskmgr work again, but there remains a bug with the...
Alex Ionescu [Mon, 18 Apr 2005 05:25:07 +0000 (05:25 +0000)]
Fix Access Bug. cmd.exe and taskmgr work again, but there remains a bug with the process list

svn path=/trunk/; revision=14666

19 years agoFix incorrect OpenProcess implementation in kernel32 and make it tidier. I'm now...
Alex Ionescu [Mon, 18 Apr 2005 05:12:36 +0000 (05:12 +0000)]
Fix incorrect OpenProcess implementation in kernel32 and make it tidier. I'm now seeing a bug with Access rights...

svn path=/trunk/; revision=14665

19 years agoFix Process not being deleted
Alex Ionescu [Mon, 18 Apr 2005 04:55:48 +0000 (04:55 +0000)]
Fix Process not being deleted

svn path=/trunk/; revision=14664

19 years agoImplement PsSetLegoNotifyRoutine and PsRemoveCreateThreadNotifyroutine. Clean up...
Alex Ionescu [Mon, 18 Apr 2005 04:46:06 +0000 (04:46 +0000)]
Implement PsSetLegoNotifyRoutine and PsRemoveCreateThreadNotifyroutine. Clean up ps/thread.c, move things to their own subsystem, do proper TEB Allocation with MmCreateTeb, remove TEB EPROCESS hack fields. Rename PsFrezeAllThreads to KeFreezeAllThreads and implement a working version.

svn path=/trunk/; revision=14663

19 years agoRemove ps/create.c, it did not fit with the current model of abstraction. Major clean...
Alex Ionescu [Mon, 18 Apr 2005 02:12:30 +0000 (02:12 +0000)]
Remove ps/create.c, it did not fit with the current model of abstraction. Major cleanup of ps/process.c, created ps/notify.c and ps/quota.c. Implemented NtOpenProcess, PsRemoveLoadImageNotifyRoutine, PsGetCurrentProcessSessionId

svn path=/trunk/; revision=14662

19 years agoForgot this
Alex Ionescu [Mon, 18 Apr 2005 02:11:19 +0000 (02:11 +0000)]
Forgot this

svn path=/trunk/; revision=14661

19 years agoMini-merge from my local changes. Rewrite of Process Creation. Notable improvements:
Alex Ionescu [Mon, 18 Apr 2005 00:42:31 +0000 (00:42 +0000)]
Mini-merge from my local changes. Rewrite of Process Creation. Notable improvements:

    - Subsystemization of Process Creation code. Memory code done by new Mm functions (not all used yet),
      Kernel code done by Ke*, etc.
    - Written to be compatible with the information in "Windows Internals".
    - Optimized and cleaned up.
    - ObInsertObject is now called at the end, fixing a plethora of wrong things that were covered with FIXMEs.
    - PEB is allocated with a Memory Area, and so will TEB soon, which allows 4KB allocation without 64KB gra
      nularity.
    - System DLL Mapping/Loading has been changed to be cached at system bootup, resulting in faster code.

Also changed Peb to report NT 5.0

NOTE: Messy, more to come soon. The full benefits of this patch won't be realized until the complete changes
      are in.

svn path=/trunk/; revision=14660

19 years agofixed warning
Thomas Bluemel [Sun, 17 Apr 2005 20:46:36 +0000 (20:46 +0000)]
fixed warning

svn path=/trunk/; revision=14659

19 years agoADVAPI32.DLL / SERVICES.EXE:
Eric Kohl [Sun, 17 Apr 2005 19:56:50 +0000 (19:56 +0000)]
ADVAPI32.DLL / SERVICES.EXE:
Implement ControlService()

RPCRT4.DLL:
Disable a bogus buffer overflow check in NdrSimpleStructMarshall.

svn path=/trunk/; revision=14658

19 years agoFixed the repeating DHCPOFFER/DHCPACK. I was assuming that the lease timeout
Art Yerkes [Sun, 17 Apr 2005 19:47:44 +0000 (19:47 +0000)]
Fixed the repeating DHCPOFFER/DHCPACK.  I was assuming that the lease timeout
was relative but it's been adjusted by the time we get here.

Thanks to hpoussineau for helping with this bug.

svn path=/trunk/; revision=14657

19 years agoSupport out-pointers to structs.
Eric Kohl [Sun, 17 Apr 2005 19:45:06 +0000 (19:45 +0000)]
Support out-pointers to structs.

svn path=/trunk/; revision=14656

19 years agofixed warning and minor portability fix
Thomas Bluemel [Sun, 17 Apr 2005 19:33:50 +0000 (19:33 +0000)]
fixed warning and minor portability fix

svn path=/trunk/; revision=14655

19 years agofixed warning and minor portability fix
Thomas Bluemel [Sun, 17 Apr 2005 19:32:24 +0000 (19:32 +0000)]
fixed warning and minor portability fix

svn path=/trunk/; revision=14654

19 years agoDon't set a zero timeout for a lease. Zero here is taken to mean infinite.
Art Yerkes [Sun, 17 Apr 2005 19:16:39 +0000 (19:16 +0000)]
Don't set a zero timeout for a lease.  Zero here is taken to mean infinite.

svn path=/trunk/; revision=14653

19 years agosm info ssid - implemented
Emanuele Aliberti [Sun, 17 Apr 2005 17:50:48 +0000 (17:50 +0000)]
sm info ssid - implemented

svn path=/trunk/; revision=14651

19 years agoPut in alphabetical order, remove IopCreateDevice, and remove incorrect implementatio...
Alex Ionescu [Sun, 17 Apr 2005 16:26:44 +0000 (16:26 +0000)]
Put in alphabetical order, remove IopCreateDevice, and remove incorrect implementation tag for EFi functions

svn path=/trunk/; revision=14650

19 years ago- Move generated files to the top of the file list.
Eric Kohl [Sun, 17 Apr 2005 11:01:00 +0000 (11:01 +0000)]
- Move generated files to the top of the file list.
- Rename generated file svcctl.h to svcctl_c.h.

svn path=/trunk/; revision=14647

19 years agoAdd sufficient permission to the TCP handle to configure the IP address.
Art Yerkes [Sun, 17 Apr 2005 08:00:01 +0000 (08:00 +0000)]
Add sufficient permission to the TCP handle to configure the IP address.

svn path=/trunk/; revision=14646

19 years agoMore cleaning. Mostly working DHCP. IP address is automatically discovered
Art Yerkes [Sun, 17 Apr 2005 07:58:24 +0000 (07:58 +0000)]
More cleaning.  Mostly working DHCP.  IP address is automatically discovered
and configured on the first ethernet adapter.

svn path=/trunk/; revision=14645

19 years agoNeeded infrastructure for DHCP:
Art Yerkes [Sun, 17 Apr 2005 07:55:24 +0000 (07:55 +0000)]
Needed infrastructure for DHCP:
Corrected adapter index problem in iinfo.c.  Now the index returned is from
 IF->Index.
ninfo: ditto.
ip.c: Expose IPAddInterfaceRoute and IPRemoveInterfaceRoute for use by
 set ip address IOCTL.
if.c: Allow deleting of TCP context.
main.c: Turn off debugging in CVS.

svn path=/trunk/; revision=14644

19 years agoIoCreateDevice Changes:
Alex Ionescu [Sun, 17 Apr 2005 04:20:16 +0000 (04:20 +0000)]
IoCreateDevice Changes:

    - IoAllocateVpb renamed to IopAllocateVpb and made cleaner
    - Let ObCreateObject do all the memory allocation since the extra data belongs to the
      object and it should be responsible for allocating it. No more extra pool allocations
      or deallocations.
    - Zero out everythign a single time.
    - Remove useless code duplication
    - Use proper I/O Manager types for the object headers.
    - Honour Exclusive Flag, and Has Name Flag.
    - Only initialize event if there is a volume.
    - Initialize a VPB for Virtual Disks also.
    - Set up Device Object Extension properly
    - Set DO_DEVICE_INITIALIZING flag.
    - Use proper sector sizes, don't hardcode 512 (should be 2048 for cds)
    - Actually insert the object into the object table with ObInsertObject. This might seem
      useless, but remember that's simply because ROS has a broken Ob Manager which does way
      too much in ObCreateObject. It will be easier to use the rewrite if this is done properly.
    - Set the right sizes in some places.

svn path=/trunk/; revision=14643

19 years agoMake the broadcast address all 1's.
Art Yerkes [Sat, 16 Apr 2005 22:11:59 +0000 (22:11 +0000)]
Make the broadcast address all 1's.

svn path=/trunk/; revision=14642

19 years agoFixed multiple bind of DHCP client port. Later, we need to implement
Art Yerkes [Sat, 16 Apr 2005 22:10:55 +0000 (22:10 +0000)]
Fixed multiple bind of DHCP client port.  Later, we need to implement
per adapter binding.

svn path=/trunk/; revision=14641

19 years agoMore I/O Stuff that was leftover in the old branch. Yes I'm still on break, I'm just...
Alex Ionescu [Sat, 16 Apr 2005 21:41:32 +0000 (21:41 +0000)]
More I/O Stuff that was leftover in the old branch. Yes I'm still on break, I'm just comitting
my local work to avoid duplication.

    - Implemented IoRegisterBootDriverReinitialization, but routines don't actually get called yet.
    - Created IopGetDeviceObjectPointer to deal with the case when the pointer is needed for an attach;
      when this happens, a special (documented) flag should be sent to the driver, so that it can do any
      internal routines to be ready for an attach.
    - Fixed IoAttachDevice to use the Safe Attach routine and sent the IO_ATTACH_DEVICE_API flag (See above)
    - Fixed IoAttachDeviceToDeviceStack to call the safe function.
    - Optimized IoAttachDeviceByPointer
    - Implemented IoAttachDeviceToDeviceStackSafe. Support Device Extension Attach semantics.
    - Added various checks for unload/delete flags (that we never supported). Checks are pretty useless for now
      since we don't use the flags, but I've added one during IoDeleteDevice.
    - Implemented IoEnumerateDeviceObjectList. Should work, but untested.
    - Implemented IoGetDeviceAttachmentBaseRef.
    - Optimized IoGetRelatedDeviceObject.
    - Made IoGetDeviceObjectPointer call the internal routine (see #2 above).
    - Implemented IoDetachDevice.
    - Removed IoOpenDeviceInstanceKey and IoQueryDeviceEnumInfo. Obsoleted, unimplemented, undocumented NT4 APIs.
    - Various Attach/Detach fixes.

svn path=/trunk/; revision=14640

19 years agoAdd file object flags, complete DEVOBJ_EXTENSION, and implement: IoIsFileOriginRemote...
Alex Ionescu [Sat, 16 Apr 2005 19:38:14 +0000 (19:38 +0000)]
Add file object flags, complete DEVOBJ_EXTENSION, and implement: IoIsFileOriginRemote, IoGetLowerDeviceObject, IoGetdiskDeviceObject, IoGetRequestorSessionId, IoGetRequestorProcessId

svn path=/trunk/; revision=14639

19 years agoFix WaitAll bug. Previously, not all Wait Objects in a WaitAll were checked for signa...
Alex Ionescu [Sat, 16 Apr 2005 17:48:46 +0000 (17:48 +0000)]
Fix WaitAll bug. Previously, not all Wait Objects in a WaitAll were checked for signaling, which meant as soon as one was signaled, all were supposed to be satisfied. Worse however, only one object would get satisfied anyways, because of a second bug which hid the first during my testing. Now, all wait all objects must be signaled before satsifcation, and satisfaction is correctly done on all the objects. Reg tested with multithrdwin, which did not properly work before. Thanks to w3seek for notifying me of this bug.

svn path=/trunk/; revision=14638

19 years agoPackageManager: Ported GUI to C
Maarten Bosma [Sat, 16 Apr 2005 17:09:12 +0000 (17:09 +0000)]
PackageManager: Ported GUI to C

svn path=/trunk/; revision=14637

19 years agoImplement FSCTL_IS_VOLUME_DIRTY and FSCTL_MARK_VOLUME_DIRTY
Hervé Poussineau [Sat, 16 Apr 2005 16:04:38 +0000 (16:04 +0000)]
Implement FSCTL_IS_VOLUME_DIRTY and FSCTL_MARK_VOLUME_DIRTY

svn path=/trunk/; revision=14636

19 years agoADVAPI32.DLL:
Eric Kohl [Sat, 16 Apr 2005 12:50:33 +0000 (12:50 +0000)]
ADVAPI32.DLL:
- Implement LockServiceDatabase and UnlockServiceDatabase.

SERVICES.EXE:
- Add stubs: ScmrLockServiceDatabase, ScmrUnlockDerviceDatabase, SamrNotifyBootConfigStatus, and ScmrCreateServiceW.
- Store and check access rights.

svn path=/trunk/; revision=14635

19 years agoPackageManager: Little fix
Maarten Bosma [Sat, 16 Apr 2005 11:48:26 +0000 (11:48 +0000)]
PackageManager: Little fix

svn path=/trunk/; revision=14634

19 years agoPackageManager: Changed download server to my own webspace. Because http://svn.reacto...
Maarten Bosma [Sat, 16 Apr 2005 11:42:44 +0000 (11:42 +0000)]
PackageManager: Changed download server to my own webspace. Because svn.reactos.com is still offline.

svn path=/trunk/; revision=14633

19 years agoPackageManager: Converted cmdline interface to C
Maarten Bosma [Sat, 16 Apr 2005 11:11:52 +0000 (11:11 +0000)]
PackageManager: Converted cmdline interface to C

svn path=/trunk/; revision=14632

19 years agoAllow interrupts indicating an empty buffer only if some bytes are pending
Hervé Poussineau [Fri, 15 Apr 2005 22:14:13 +0000 (22:14 +0000)]
Allow interrupts indicating an empty buffer only if some bytes are pending
This should correct the boot in Qemu

svn path=/trunk/; revision=14631

19 years agoUse RPC for making calls to the Service Control Manager.
Eric Kohl [Fri, 15 Apr 2005 22:02:37 +0000 (22:02 +0000)]
Use RPC for making calls to the Service Control Manager.

svn path=/trunk/; revision=14630

19 years agoRemoved need for separately prefixed binutils.
Art Yerkes [Fri, 15 Apr 2005 19:33:51 +0000 (19:33 +0000)]
Removed need for separately prefixed binutils.

svn path=/trunk/; revision=14629

19 years agoSupport in-pointers to structs.
Eric Kohl [Fri, 15 Apr 2005 17:56:40 +0000 (17:56 +0000)]
Support in-pointers to structs.

svn path=/trunk/; revision=14628

19 years agoAdd ASSERTs
Hervé Poussineau [Fri, 15 Apr 2005 15:56:19 +0000 (15:56 +0000)]
Add ASSERTs
Correct a bug when processing IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_RELATIONS / TargetDeviceRelation (serenum)
Don't breakpoint if NDEBUG is defined (serenum)
Allow to write more than 16 bytes in one IRP_MJ_WRITE (serial)

svn path=/trunk/; revision=14627

19 years agouse the correct version of KeGetCurrentIrql for MP
Thomas Bluemel [Fri, 15 Apr 2005 10:52:29 +0000 (10:52 +0000)]
use the correct version of KeGetCurrentIrql for MP

svn path=/trunk/; revision=14626

19 years agoImplemented Guarded Mutex, a drop-in replacement for Fast Mutex (the correct one...
Alex Ionescu [Fri, 15 Apr 2005 06:24:35 +0000 (06:24 +0000)]
Implemented Guarded Mutex, a drop-in replacement for Fast Mutex (the correct one, not the one ROS incorrectly implements) on NT 5.2. Not fully tested yet, so nothing switched to it and probably not usable. Also made KeGetCurrentThread/Irql become inlined, since this should create quite a speed boost. Made KeLeaveCriticalRegion deliver APCs if possible, and made Crit regions macros usable from outside ntoskrnl thanks to a new NT 5.2 API (KiCheckForKernelApcDelivery). Guarded Mutex code based on Filip Navara.

svn path=/trunk/; revision=14625

19 years agoUse DriverDesc in the registry as the adapter name since the ndis name OID
Art Yerkes [Fri, 15 Apr 2005 00:48:25 +0000 (00:48 +0000)]
Use DriverDesc in the registry as the adapter name since the ndis name OID
seems generally unimplemented.  What a pain.

svn path=/trunk/; revision=14624

19 years agoChange debug messages to more neutral ones
Hervé Poussineau [Thu, 14 Apr 2005 22:41:48 +0000 (22:41 +0000)]
Change debug messages to more neutral ones

svn path=/trunk/; revision=14623

19 years agoSimple Win32/text application to query the SM (incomplete/untested).
Emanuele Aliberti [Thu, 14 Apr 2005 21:46:14 +0000 (21:46 +0000)]
Simple Win32/text application to query the SM (incomplete/untested).

svn path=/trunk/; revision=14621

19 years agocharn <charn89@hotmail.com>:
Martin Fuchs [Thu, 14 Apr 2005 20:32:00 +0000 (20:32 +0000)]
charn <charn89@hotmail.com>:
A function for desktopbar.cpp that controls how the taskbar can be resized.

svn path=/trunk/; revision=14620

19 years agofrom ThomasLa <sikker2004@yahoo.com>:
Martin Fuchs [Thu, 14 Apr 2005 20:23:02 +0000 (20:23 +0000)]
from ThomasLa <sikker2004@yahoo.com>:

Corrected DE.rc language controls
Modifed EN.rc
implemented part of screensaver functions

Shows Screensavers
Get Some Values from registry
get default screensaver
implemented delete screensavers

svn path=/trunk/; revision=14619

19 years agoadd some missing gdi functions to the driver function table
Thomas Bluemel [Thu, 14 Apr 2005 15:47:03 +0000 (15:47 +0000)]
add some missing gdi functions to the driver function table

svn path=/trunk/; revision=14618

19 years agodefine KGATE in win32api
Thomas Bluemel [Thu, 14 Apr 2005 15:45:14 +0000 (15:45 +0000)]
define KGATE in win32api

svn path=/trunk/; revision=14617

19 years agoSorry, forgot header for API dll communication.
Art Yerkes [Wed, 13 Apr 2005 06:55:26 +0000 (06:55 +0000)]
Sorry, forgot header for API dll communication.

svn path=/trunk/; revision=14605

19 years agoKernel Gates. Ultra-lightweight and exclusive Wait Objects used in NT 5.2+ as high...
Alex Ionescu [Wed, 13 Apr 2005 01:12:08 +0000 (01:12 +0000)]
Kernel Gates. Ultra-lightweight and exclusive Wait Objects used in NT 5.2+ as high-speed events. Code is untested, so it's not added to the build until I'm back in May.

svn path=/trunk/; revision=14603

19 years agoAdded DHCP and dhcpcapi to the makefile.
Art Yerkes [Tue, 12 Apr 2005 23:33:29 +0000 (23:33 +0000)]
Added DHCP and dhcpcapi to the makefile.

svn path=/trunk/; revision=14602

19 years agoPatch by tinus_ to fix a persistent problem with kdbg. Fixes the y umlaut
Art Yerkes [Tue, 12 Apr 2005 23:27:59 +0000 (23:27 +0000)]
Patch by tinus_ to fix a persistent problem with kdbg.  Fixes the y umlaut
bug.

svn path=/trunk/; revision=14601

19 years agoFirst instance of DHCP client API. Not tested yet. Next, the control
Art Yerkes [Tue, 12 Apr 2005 23:25:14 +0000 (23:25 +0000)]
First instance of DHCP client API.  Not tested yet.  Next, the control
panel.

svn path=/trunk/; revision=14600

19 years agoAdded client API interface.
Art Yerkes [Tue, 12 Apr 2005 23:23:26 +0000 (23:23 +0000)]
Added client API interface.

svn path=/trunk/; revision=14599

19 years agoSM: some server side code for SM_API_QUERY_INFORMATION
Emanuele Aliberti [Tue, 12 Apr 2005 21:25:58 +0000 (21:25 +0000)]
SM: some server side code for SM_API_QUERY_INFORMATION

svn path=/trunk/; revision=14598

19 years agoRemove unneeded hack. DriverEntry is now called only once.
Hervé Poussineau [Mon, 11 Apr 2005 22:38:53 +0000 (22:38 +0000)]
Remove unneeded hack. DriverEntry is now called only once.

svn path=/trunk/; revision=14597

19 years agoRespect OBJ_OPENIF flag in ObCreateObject
Hervé Poussineau [Mon, 11 Apr 2005 22:38:05 +0000 (22:38 +0000)]
Respect OBJ_OPENIF flag in ObCreateObject

svn path=/trunk/; revision=14596

19 years agoOpen \Windows directory if it exists
Hervé Poussineau [Mon, 11 Apr 2005 22:37:46 +0000 (22:37 +0000)]
Open \Windows directory if it exists

svn path=/trunk/; revision=14595

19 years agoDon't call DriverEntry more than once. Fix suggested by Filip Navara.
Hervé Poussineau [Mon, 11 Apr 2005 22:29:31 +0000 (22:29 +0000)]
Don't call DriverEntry more than once. Fix suggested by Filip Navara.

svn path=/trunk/; revision=14594