reactos.git
14 years agoCorrectly support USB hubs
Hervé Poussineau [Mon, 15 May 2006 16:05:02 +0000 (16:05 +0000)]
Correctly support USB hubs

svn path=/trunk/; revision=21908

14 years agoadded usb.inf for generic usb-hubs
Christoph von Wittich [Mon, 15 May 2006 15:47:56 +0000 (15:47 +0000)]
added usb.inf for generic usb-hubs

svn path=/trunk/; revision=21907

14 years agoInitialize the status block before sending the IRP
Hervé Poussineau [Mon, 15 May 2006 10:55:51 +0000 (10:55 +0000)]
Initialize the status block before sending the IRP

svn path=/trunk/; revision=21906

14 years agoRevert 21903
Hervé Poussineau [Mon, 15 May 2006 08:43:33 +0000 (08:43 +0000)]
Revert 21903
1) ReactOS is extremely long to parse .inf files (no .pnf files as on Windows). Remember we want to keep ReactOS fast (when running) and small (on disk).
2) nVidia already provides a .inf file for its devices. You will still need it for other devices, so why not also use it for PCI System Management and Memory Controller?
3) Windows doesn't recognize natively the nVidia chipset, even with lastest updates.
4) I only care about devices emulated by VMware/Qemu/Bochs/Virtual PC, ie virtual machines.
5) If you add PnP IDs of some nVidia devices, someone else will want to add PnP IDs for other chipsets (Via, C3, Intel, ...)
6) While you are at it, why don't you add 40Mb to recognize the same amount of devices as Windows XP?

svn path=/trunk/; revision=21905

14 years agobug 1486 : patch from w3seek USER32: Convert WM_MDICREATE messages from/to unicode
Magnus Olsen [Sun, 14 May 2006 21:26:24 +0000 (21:26 +0000)]
bug 1486 : patch from w3seek USER32: Convert WM_MDICREATE messages from/to unicode

svn path=/trunk/; revision=21904

14 years ago-added NVIDIA nForce2 Memory Controller
Christoph von Wittich [Sun, 14 May 2006 20:05:08 +0000 (20:05 +0000)]
-added NVIDIA nForce2 Memory Controller
-added NVIDIA nForce2 PCI System Management

svn path=/trunk/; revision=21903

14 years agoNo need to link to ole32/oleaut32
Hervé Poussineau [Sun, 14 May 2006 14:51:08 +0000 (14:51 +0000)]
No need to link to ole32/oleaut32

svn path=/trunk/; revision=21902

14 years ago- Revert dependencies part of r21866 since it breaks compiling on MSVC 2005 (it compl...
Aleksey Bragin [Sat, 13 May 2006 22:11:25 +0000 (22:11 +0000)]
- Revert dependencies part of r21866 since it breaks compiling on MSVC 2005 (it complains to missing libs which we don't yet compile - like ntdll.lib, gdi32.lib, user32.lib and so on)

svn path=/trunk/; revision=21901

14 years agoFix duplicate default routes when IP address is set manually.
Art Yerkes [Sat, 13 May 2006 07:11:22 +0000 (07:11 +0000)]
Fix duplicate default routes when IP address is set manually.

svn path=/trunk/; revision=21900

14 years ago- Live update of static IP address from ctl panel.
Art Yerkes [Sat, 13 May 2006 06:41:23 +0000 (06:41 +0000)]
- Live update of static IP address from ctl panel.
- Fix removing adapter route on IP address delete.

svn path=/trunk/; revision=21899

14 years agodisplay workgroup/domain name
Christoph von Wittich [Fri, 12 May 2006 20:05:19 +0000 (20:05 +0000)]
display workgroup/domain name

svn path=/trunk/; revision=21898

14 years ago- Bug 1476: Include rosldr.h in halxbox.h
Aleksey Bragin [Fri, 12 May 2006 19:51:50 +0000 (19:51 +0000)]
- Bug 1476: Include rosldr.h in halxbox.h

svn path=/trunk/; revision=21897

14 years agoMisc fixes:
Hervé Poussineau [Fri, 12 May 2006 07:36:12 +0000 (07:36 +0000)]
Misc fixes:
- Add System Bus Extender service group (used by pciide driver)
- Fix tags for Boot Bus Extender services
- Remove deprecated entries for ide.sys
- Let not the hardware wizard display the "Unknown device" (hack)

svn path=/trunk/; revision=21896

14 years ago[AUDIT]
Maarten Bosma [Thu, 11 May 2006 22:40:37 +0000 (22:40 +0000)]
[AUDIT]
Unlock the Cache Manager
- It is not even compatible to windows
- Alex assures his code is clean

svn path=/trunk/; revision=21894

14 years agoFix converting the typelib file name to unicode by using the correct buffer size.
Hervé Poussineau [Thu, 11 May 2006 22:23:20 +0000 (22:23 +0000)]
Fix converting the typelib file name to unicode by using the correct buffer size.

svn path=/trunk/; revision=21893

14 years agoQuiesce the datalink debugging output.
Andrew Munger [Thu, 11 May 2006 21:52:28 +0000 (21:52 +0000)]
Quiesce the datalink debugging output.

svn path=/trunk/; revision=21892

14 years ago- Thomas Weidenmueller: Fix build by fixing __readcr3 / __readcr4 implementations.
Aleksey Bragin [Thu, 11 May 2006 21:01:29 +0000 (21:01 +0000)]
- Thomas Weidenmueller: Fix build by fixing __readcr3 / __readcr4 implementations.

svn path=/trunk/; revision=21891

14 years agoRestore original compiler settings. Changed accidentally by the NDK patch.
Andrew Munger [Thu, 11 May 2006 19:07:52 +0000 (19:07 +0000)]
Restore original compiler settings. Changed accidentally by the NDK patch.

svn path=/trunk/; revision=21890

14 years agoSome more error checking...
Hervé Poussineau [Thu, 11 May 2006 17:43:31 +0000 (17:43 +0000)]
Some more error checking...

svn path=/trunk/; revision=21889

14 years ago- Fix installation of INF sections including a section of the same name in another...
Hervé Poussineau [Thu, 11 May 2006 16:56:00 +0000 (16:56 +0000)]
- Fix installation of INF sections including a section of the same name in another INF file
- Remove some tests to NULL before HeapFree calls

svn path=/trunk/; revision=21888

14 years agorevers my change in 21818, w3seek point out it was not good, and it can create unsupe...
Magnus Olsen [Wed, 10 May 2006 21:34:10 +0000 (21:34 +0000)]
revers my change in 21818, w3seek point out it was not good, and it can create unsupectet problem, like no gui ondemain, and maybe other, it seam waxdragon and other have problem boot after this changes. thats is the reason for this change beeing remove, that was added in 21818

svn path=/trunk/; revision=21886

14 years agoRevert accidental txtsetup.sif change. My fault.
Andrew Munger [Wed, 10 May 2006 19:29:49 +0000 (19:29 +0000)]
Revert accidental txtsetup.sif change. My fault.

svn path=/trunk/; revision=21885

14 years agoFix broken assert
Alex Ionescu [Wed, 10 May 2006 18:24:23 +0000 (18:24 +0000)]
Fix broken assert

svn path=/trunk/; revision=21883

14 years agoFix broken assert
Alex Ionescu [Wed, 10 May 2006 18:15:58 +0000 (18:15 +0000)]
Fix broken assert

svn path=/trunk/; revision=21882

14 years ago- NDK 0.98, now with versionned headers. Too many changes to list, see the TinyKRNL...
Alex Ionescu [Wed, 10 May 2006 17:47:44 +0000 (17:47 +0000)]
- NDK 0.98, now with versionned headers. Too many changes to list, see the TinyKRNL SVN Logs for more detailed information. Thanks to Andrew (Wax), Thomas and Aleksey for testing.

svn path=/trunk/; revision=21880

14 years agoadded ACPI fan, ACPI power button device, ACPI sleep button device
Christoph von Wittich [Wed, 10 May 2006 15:58:14 +0000 (15:58 +0000)]
added ACPI fan, ACPI power button device, ACPI sleep button device

svn path=/trunk/; revision=21879

14 years agodelay the kernel tree for let it it cache up with some work before continue excute...
Magnus Olsen [Wed, 10 May 2006 14:50:28 +0000 (14:50 +0000)]
delay the kernel tree for let it it cache up with some work before continue excute in IntPrepareDriver.
base on hpoussin hack in bug 1321, I have reboot vmware lest 20-30 times and I do not longer getting bsod
I did before see lest one bsod in IntPrepareDriver after first attamt to boot to gui mode, then I need
reboot reactos two times, to get it working. Lest it take care of my problem in vmware

svn path=/trunk/; revision=21878

14 years agoShut up a debug message
Hervé Poussineau [Wed, 10 May 2006 13:46:52 +0000 (13:46 +0000)]
Shut up a debug message

svn path=/trunk/; revision=21877

14 years agobug 1468 : patch from w3seek, advapi32: support object ACEs in string functions
Magnus Olsen [Wed, 10 May 2006 09:44:06 +0000 (09:44 +0000)]
bug 1468 : patch from w3seek, advapi32: support object ACEs in string functions

svn path=/trunk/; revision=21876

14 years agobug 1467 : patch from w3seek, ACLs: Implement audit functions
Magnus Olsen [Wed, 10 May 2006 09:32:23 +0000 (09:32 +0000)]
bug 1467 : patch from w3seek, ACLs: Implement audit functions

svn path=/trunk/; revision=21875

14 years ago[AUDIT] after looking through code no signs of reverse engineering were found. COde...
Magnus Olsen [Wed, 10 May 2006 08:51:13 +0000 (08:51 +0000)]
[AUDIT] after looking through code no signs of reverse engineering were found. COde was take from wine and stub wirten by EA

svn path=/trunk/; revision=21874

14 years ago[AUDIT] advapi32 is from wine, objust clean
Magnus Olsen [Wed, 10 May 2006 08:41:27 +0000 (08:41 +0000)]
[AUDIT] advapi32 is from wine, objust  clean

svn path=/trunk/; revision=21873

14 years ago[AUDIT] after looking through code no signs of reverse engineering were found.
Magnus Olsen [Wed, 10 May 2006 08:32:32 +0000 (08:32 +0000)]
[AUDIT] after looking through code no signs of reverse engineering were found.

svn path=/trunk/; revision=21872

14 years agoUpdate version.dll to lastest Wine version. Fixes a bug in some installers.
Hervé Poussineau [Wed, 10 May 2006 08:19:03 +0000 (08:19 +0000)]
Update version.dll to lastest Wine version. Fixes a bug in some installers.
It was forked in revision 8782 to let Winzip to work. I've checked that Winzip is also working with this version

svn path=/trunk/; revision=21871

14 years agoAdd missing #define for VFT2_DRV_VERSIONED_PRINTER
Hervé Poussineau [Wed, 10 May 2006 07:10:11 +0000 (07:10 +0000)]
Add missing #define for VFT2_DRV_VERSIONED_PRINTER

svn path=/trunk/; revision=21870

14 years agoFix compilation with GCC4
Hervé Poussineau [Tue, 9 May 2006 20:50:46 +0000 (20:50 +0000)]
Fix compilation with GCC4

svn path=/trunk/; revision=21869

14 years agoFirst fully functional version of ncpa.
Hervé Poussineau [Tue, 9 May 2006 20:25:29 +0000 (20:25 +0000)]
First fully functional version of ncpa.
Requires a reboot after parameters changes.

svn path=/trunk/; revision=21868

14 years agowin32k: minor window class fixes
Andrew Munger [Tue, 9 May 2006 20:21:52 +0000 (20:21 +0000)]
win32k: minor window class fixes
- minor callproc handling bug
- correctly updating the menu name pointers when moving classes to the shared
heap
Patch by w3seek.

svn path=/trunk/; revision=21867

14 years agoadd library output paths to linker
Johannes Anderwald [Tue, 9 May 2006 12:22:33 +0000 (12:22 +0000)]
add library output paths to linker
implement project dependency tracking - now we can build modules with dependend subprojects from ReactOS.sln

svn path=/trunk/; revision=21866

14 years agoexclude wine/w32api headers from msvc include paths
Johannes Anderwald [Tue, 9 May 2006 09:23:20 +0000 (09:23 +0000)]
exclude wine/w32api headers from msvc include paths

svn path=/trunk/; revision=21865

14 years agocorrect the ntoskrnl to the new LARGE_MCB strucrt
Magnus Olsen [Tue, 9 May 2006 06:02:26 +0000 (06:02 +0000)]
correct the ntoskrnl to the new LARGE_MCB strucrt

svn path=/trunk/; revision=21864

14 years agofixing right define of struct typedef LARGE_MCB *PLARGE_MCB
Magnus Olsen [Tue, 9 May 2006 06:01:32 +0000 (06:01 +0000)]
fixing right define of struct typedef LARGE_MCB *PLARGE_MCB

svn path=/trunk/; revision=21863

14 years agoI fixed a mistake?
James Tabor [Tue, 9 May 2006 03:55:10 +0000 (03:55 +0000)]
I fixed a mistake?

svn path=/trunk/; revision=21862

14 years agoAdd CommonFilesDir and ProgramFilesDir to HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion
Hervé Poussineau [Mon, 8 May 2006 23:54:03 +0000 (23:54 +0000)]
Add CommonFilesDir and ProgramFilesDir to HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion

svn path=/trunk/; revision=21861

14 years agoFsRtlNumberOfRunsInLargeMcb compare http://www.jankratochvil.net/captive source...
Magnus Olsen [Mon, 8 May 2006 22:07:09 +0000 (22:07 +0000)]
FsRtlNumberOfRunsInLargeMcb  compare jankratochvil.net/captive source changes of ReactOS ntoskrnl and we found a bug in ReactOS
ntoskrnl.

svn path=/trunk/; revision=21860

14 years agoPatch by Thomas Weidermueller (w3seek at reactos dot com)
Hervé Poussineau [Mon, 8 May 2006 21:32:36 +0000 (21:32 +0000)]
Patch by Thomas Weidermueller (w3seek at reactos dot com)
- Fix some parameter names and IN/OUT/OPTIONAL

svn path=/trunk/; revision=21859

14 years agofix msvc build bug with project having assemblers
Johannes Anderwald [Mon, 8 May 2006 20:13:29 +0000 (20:13 +0000)]
fix msvc build bug with project having assemblers

svn path=/trunk/; revision=21858

14 years agoSorry, reverted my changes. I didn't realize other work was going on in here.
Art Yerkes [Mon, 8 May 2006 18:16:44 +0000 (18:16 +0000)]
Sorry, reverted my changes.  I didn't realize other work was going on in here.

svn path=/trunk/; revision=21857

14 years agofixing a typo from my side. sorry wax for the broken treed
Magnus Olsen [Mon, 8 May 2006 18:15:46 +0000 (18:15 +0000)]
fixing a typo from my side. sorry wax for the broken treed

svn path=/trunk/; revision=21856

14 years agosorry I broke the build, thx Brezenbak and w3seek point it out, small change from...
Magnus Olsen [Mon, 8 May 2006 17:35:09 +0000 (17:35 +0000)]
sorry I broke the build, thx Brezenbak and w3seek point it out, small change from brezenbak to fix it

svn path=/trunk/; revision=21855

14 years agoFix bug 1448 and a possible buffer overflow.
Hervé Poussineau [Mon, 8 May 2006 17:14:19 +0000 (17:14 +0000)]
Fix bug 1448 and a possible buffer overflow.
Thanks w3seek for his help during the debugging

svn path=/trunk/; revision=21854

14 years agofixing a bug in gdientry3, found it when I wrote the doc
Magnus Olsen [Mon, 8 May 2006 16:50:33 +0000 (16:50 +0000)]
fixing a bug in gdientry3, found it when I wrote the doc

svn path=/trunk/; revision=21853

14 years agoadding doc for how DdCreateDirectDrawObject (GdiEntry1) and DdDeleteDirectDrawObject...
Magnus Olsen [Mon, 8 May 2006 16:48:10 +0000 (16:48 +0000)]
adding doc for how DdCreateDirectDrawObject (GdiEntry1) and DdDeleteDirectDrawObject (GdiEntry3) works in reactos. doc by request by some devlopers

svn path=/trunk/; revision=21852

14 years agotcpip: make sure to clean up failed adapter bindings
Art Yerkes [Mon, 8 May 2006 11:00:26 +0000 (11:00 +0000)]
tcpip: make sure to clean up failed adapter bindings
ndis:  manage global adapter list correctly
ncpa:  wip code from my old tree ... it can now be used to set a static ip
       addr at least.  more to come

svn path=/trunk/; revision=21851

14 years agofix indentation
Christoph von Wittich [Mon, 8 May 2006 08:54:47 +0000 (08:54 +0000)]
fix indentation

svn path=/trunk/; revision=21850

14 years agoif u update En.rc please update all other langues files, use the english text if...
Magnus Olsen [Mon, 8 May 2006 05:11:37 +0000 (05:11 +0000)]
if u update En.rc please update all other langues files, use the english text if no translatesion is not availbal, other wise it will bsd in windows or in reactos and we get diffent functions on each langues. DO NOT DO THIS MISTAKE

svn path=/trunk/; revision=21849

14 years agoSorry, turn off extra debugging. We need a better framework for that.
Art Yerkes [Mon, 8 May 2006 02:46:21 +0000 (02:46 +0000)]
Sorry, turn off extra debugging.  We need a better framework for that.

svn path=/trunk/; revision=21848

14 years agoFix device registration. The actual reason it didn't work was that we weren't
Art Yerkes [Mon, 8 May 2006 02:45:40 +0000 (02:45 +0000)]
Fix device registration.  The actual reason it didn't work was that we weren't
adding the device to the list until after calling the BindAdapter method.

svn path=/trunk/; revision=21847

14 years agouserenv: open handles with least rights neccessary. Patch by w3seek, bug 1458.
Andrew Munger [Sun, 7 May 2006 20:23:16 +0000 (20:23 +0000)]
userenv: open handles with least rights neccessary. Patch by w3seek, bug 1458.

svn path=/trunk/; revision=21846

14 years agoThe NPFS_FCB struct is actually a CCB (Context Control Block) instead of an FCB ...
Eric Kohl [Sun, 7 May 2006 19:56:32 +0000 (19:56 +0000)]
The NPFS_FCB struct is actually a CCB (Context Control Block) instead of an FCB (File Control Block). Rename it accordingly and store pointers to it in FileObject->FsContext2 instead of FileObject->FsContext.

svn path=/trunk/; revision=21845

14 years ago[AUDIT]
Alex Ionescu [Sun, 7 May 2006 19:34:23 +0000 (19:34 +0000)]
[AUDIT]
- Tditest: A TDI test application.
- Floppy: Cleanly implemented by Vizzini.
- VideoPort, VBE/VGA Miniports: Filip says these are clean, but the actual VGA driver/framebuffers need more through auditing.

svn path=/trunk/; revision=21844

14 years ago[AUDIT] after looking through code no signs of reverse engineering were found.
Magnus Olsen [Sun, 7 May 2006 19:23:37 +0000 (19:23 +0000)]
[AUDIT] after looking through code no signs of reverse engineering were found.

svn path=/trunk/; revision=21843

14 years ago[AUDIT]
Alex Ionescu [Sun, 7 May 2006 19:16:11 +0000 (19:16 +0000)]
[AUDIT]
- Bootvid: Uses documented/typical VGA drawing routines. Actual NT implementation is comletely incompatible and has nothing to do with real Windows, so no taint here.
- Debugout, green, diskdump: ROS-developed and non-NT drivers. Nothing they could've been tainted with, since NT doesn't have them.
- Null: Trivial/obvious implementation of a driver which does nothing.
- buslogic: Taken from VMWare source code almost entirely, minus some ROS hacks.
- Xbox Video Miniport: Cleanly developed by ros-xbox team with information from linux-xbox project.
- CSQTest: CSQ Test written by vizzini. Uses documented CSQ information and is just a test app to show how CSQ works, written by himself.

svn path=/trunk/; revision=21842

14 years ago[AUDIT]
Alex Ionescu [Sun, 7 May 2006 18:59:41 +0000 (18:59 +0000)]
[AUDIT]
- HalUp is just a 3-line initialization stub.
- Include directory contains public DMA/APIC/SMP hardware data or internal prototypes.

svn path=/trunk/; revision=21841

14 years ago[AUDIT]
Alex Ionescu [Sun, 7 May 2006 18:56:52 +0000 (18:56 +0000)]
[AUDIT]
- Generic HAL is just a bunch of stubs, no actual code.
- XBOX HAL was cleanly developed by the ros-XBOX team using information from linux-xbox.

svn path=/trunk/; revision=21840

14 years agobug 1457: patch by w3seek : VFAT: Implement FileEaInformation for FAT32
Magnus Olsen [Sun, 7 May 2006 18:50:18 +0000 (18:50 +0000)]
bug 1457: patch by w3seek : VFAT: Implement FileEaInformation for FAT32

svn path=/trunk/; revision=21839

14 years ago[AUDIT] after looking through code no signs of reverse engineering were found.
Magnus Olsen [Sun, 7 May 2006 18:49:07 +0000 (18:49 +0000)]
[AUDIT] after looking through code no signs of reverse engineering were found.

svn path=/trunk/; revision=21838

14 years ago[AUDIT] after looking through code no signs of reverse engineering were found.
Magnus Olsen [Sun, 7 May 2006 18:42:22 +0000 (18:42 +0000)]
[AUDIT] after looking through code no signs of reverse engineering were found.

svn path=/trunk/; revision=21837

14 years ago[AUDIT] after looking through code no signs of reverse engineering were found.
Magnus Olsen [Sun, 7 May 2006 18:39:18 +0000 (18:39 +0000)]
[AUDIT] after looking through code no signs of reverse engineering were found.

svn path=/trunk/; revision=21836

14 years agoBug 1456 : patch from w3seek : Fix a bug in CreateDirectoryEx that makes the function...
Magnus Olsen [Sun, 7 May 2006 18:17:50 +0000 (18:17 +0000)]
Bug 1456 : patch from w3seek : Fix a bug in CreateDirectoryEx that makes the function attempt to create the template directory again

svn path=/trunk/; revision=21835

14 years ago[AUDIT] after looking through code no signs of reverse engineering were found.
Magnus Olsen [Sun, 7 May 2006 18:16:31 +0000 (18:16 +0000)]
[AUDIT] after looking through code no signs of reverse engineering were found.

svn path=/trunk/; revision=21834

14 years ago[AUDIT] after looking through code no signs of reverse engineering were found.
Magnus Olsen [Sun, 7 May 2006 18:14:03 +0000 (18:14 +0000)]
[AUDIT] after looking through code no signs of reverse engineering were found.

svn path=/trunk/; revision=21833

14 years ago-don't show SystemComponents
Christoph von Wittich [Sun, 7 May 2006 18:05:51 +0000 (18:05 +0000)]
-don't show SystemComponents
-added a "Show updates" checkbox

svn path=/trunk/; revision=21832

14 years agoAdd common cleanup block in SetupDiBuildClassInfoListExW, SetupDiClassGuidsFromNameEx...
Hervé Poussineau [Sun, 7 May 2006 14:52:32 +0000 (14:52 +0000)]
Add common cleanup block in SetupDiBuildClassInfoListExW, SetupDiClassGuidsFromNameExW, SetupDiClassNameFromGuidExW, SetupDiGetClassDescriptionExW, SETUP_CreateDevListFromEnumerator, SETUP_CreateDevList, SetupDiGetClassDevsExW, CreateClassKey, SetupDiOpenDeviceInfoW

svn path=/trunk/; revision=21831

14 years agoIn case of error, Reg* functions set the output handle to NULL. Don't rely on it...
Hervé Poussineau [Sun, 7 May 2006 14:02:00 +0000 (14:02 +0000)]
In case of error, Reg* functions set the output handle to NULL. Don't rely on it to be INVALID_HANDLE_VALUE
This commit is related to bug 1455

svn path=/trunk/; revision=21830

14 years agoReplace some casts by CONTAINING_RECORD macro
Hervé Poussineau [Sun, 7 May 2006 13:35:44 +0000 (13:35 +0000)]
Replace some casts by CONTAINING_RECORD macro
Fix handle leak in SetupDiOpenClassRegKeyExW

svn path=/trunk/; revision=21829

14 years agoFix timeout handling.
Eric Kohl [Sun, 7 May 2006 12:48:45 +0000 (12:48 +0000)]
Fix timeout handling.

svn path=/trunk/; revision=21828

14 years agoFix a broken cast (thanks w3seek)
Hervé Poussineau [Sun, 7 May 2006 12:09:01 +0000 (12:09 +0000)]
Fix a broken cast (thanks w3seek)

svn path=/trunk/; revision=21827

14 years agoFix error handling in SETUP_CreateInterfaceList (memory/handles leak)
Hervé Poussineau [Sun, 7 May 2006 12:00:55 +0000 (12:00 +0000)]
Fix error handling in SETUP_CreateInterfaceList (memory/handles leak)
Implement DIGCF_PRESENT flag in SetupDiGetClassDevsExW
Add more error codes mapping from CR_* to ERROR_*

svn path=/trunk/; revision=21826

14 years agoUpdate Indentation (tab->4spaces).
Eric Kohl [Sun, 7 May 2006 11:14:41 +0000 (11:14 +0000)]
Update Indentation (tab->4spaces).

svn path=/trunk/; revision=21825

14 years ago- Fix build.
Alex Ionescu [Sun, 7 May 2006 10:52:14 +0000 (10:52 +0000)]
- Fix build.

svn path=/trunk/; revision=21824

14 years agoFix buffer overflow (spotted by Detlef Riekenberg in wine-devel ML)
Hervé Poussineau [Sun, 7 May 2006 09:32:56 +0000 (09:32 +0000)]
Fix buffer overflow (spotted by Detlef Riekenberg in wine-devel ML)

svn path=/trunk/; revision=21823

14 years ago[AUDIT]
Aleksey Bragin [Sun, 7 May 2006 09:23:22 +0000 (09:23 +0000)]
[AUDIT]
kernel32.dll
- Eric Kohl states that mailslot.c and npipe.c are clean: "They implement simple interfaces to the mailslot and named pipe file system drivers and don't contain any tainted code."

svn path=/trunk/; revision=21822

14 years agomerges HEL_SetCooperativeLevel and HAL_SetCooperativeLevel to MAIN_SetCooperativeLevel
Magnus Olsen [Sun, 7 May 2006 09:12:37 +0000 (09:12 +0000)]
merges HEL_SetCooperativeLevel and HAL_SetCooperativeLevel to MAIN_SetCooperativeLevel
the new desgin allown us to use HEL as callbacks, we need change all HEL calls to the new desgin now

svn path=/trunk/; revision=21821

14 years agoTry again move to new redesign but now we take one step at time
Magnus Olsen [Sun, 7 May 2006 08:41:26 +0000 (08:41 +0000)]
Try again move to new redesign but now we take one step at time

svn path=/trunk/; revision=21820

14 years agorevert last commit it bsd the ddraw in some case
Magnus Olsen [Sun, 7 May 2006 08:26:40 +0000 (08:26 +0000)]
revert last commit it bsd the ddraw in some case

svn path=/trunk/; revision=21819

14 years agoFix printing of adapter address. Just a silly thing for debugging.
Art Yerkes [Sun, 7 May 2006 07:45:17 +0000 (07:45 +0000)]
Fix printing of adapter address.  Just a silly thing for debugging.

svn path=/trunk/; revision=21818

14 years agoStart remove old desgin of HEL to the new desgin, it will redues the code size, for...
Magnus Olsen [Sun, 7 May 2006 07:43:50 +0000 (07:43 +0000)]
Start remove old desgin of HEL to the new desgin, it will redues the code size, for we will use same code to call HAL in HEL, basic we need write the Dd* functions, it can be done two way, 1. Create a Hel driver in kmode or try write it in user mode. I will try write it in user mode.

svn path=/trunk/; revision=21817

14 years agoSimplified the access to FCBs and CCBs.
Eric Kohl [Sun, 7 May 2006 07:33:40 +0000 (07:33 +0000)]
Simplified the access to FCBs and CCBs.

svn path=/trunk/; revision=21816

14 years agoThe MSFS_MAILSLOT struct is actually an FCB (File Control Block). Rename it according...
Eric Kohl [Sat, 6 May 2006 20:04:30 +0000 (20:04 +0000)]
The MSFS_MAILSLOT struct is actually an FCB (File Control Block). Rename it accordingly and store pointers to it in FileObject->FsContext.

svn path=/trunk/; revision=21815

14 years agoSet direct io flag of the device object.
Eric Kohl [Sat, 6 May 2006 15:39:42 +0000 (15:39 +0000)]
Set direct io flag of the device object.

svn path=/trunk/; revision=21814

14 years agoThe MSFS_FCB struct is actually a CCB (Context Control Block) instead of an FCB ...
Eric Kohl [Sat, 6 May 2006 15:37:40 +0000 (15:37 +0000)]
The MSFS_FCB struct is actually a CCB (Context Control Block) instead of an FCB (File Control Block). Rename it accordingly and store pointers to it in FileObject->FsContext2 instead of FileObject->FsContext.

svn path=/trunk/; revision=21813

14 years agoCode cleanup:
Hervé Poussineau [Sat, 6 May 2006 14:36:52 +0000 (14:36 +0000)]
Code cleanup:
- Move IRP_MJ_CREATE, IRP_MJ_CLOSE and IRP_MJ_CLEANUP to fdo.c and pdo.c
- Implement IRP_MJ_PNP / IRP_MN_QUERY_BUS_INFORMATION for PDOs
- IRP_MJ_POWER now returns STATUS_NOT_SUPPORTED instead of STATUS_SUCCESS
- Replace STDCALL by NTAPI
- Delete useless white space

=> USB keyboard and mice are working, even if they require one reboot after the installation of the USB controller

svn path=/trunk/; revision=21812

14 years ago* enable advanced mouse options in apply
Johannes Anderwald [Sat, 6 May 2006 11:26:27 +0000 (11:26 +0000)]
* enable advanced mouse options in apply
thnx Christoph_Vw

svn path=/trunk/; revision=21811

14 years ago* ident code
Johannes Anderwald [Sat, 6 May 2006 11:10:27 +0000 (11:10 +0000)]
* ident code
* enable apply button when slider pos change

svn path=/trunk/; revision=21810

14 years ago-lock the year edit control
Christoph von Wittich [Fri, 5 May 2006 21:55:27 +0000 (21:55 +0000)]
-lock the year edit control

svn path=/trunk/; revision=21809

14 years ago- SVN maintenance (set eol-style to native)
Aleksey Bragin [Fri, 5 May 2006 18:13:26 +0000 (18:13 +0000)]
- SVN maintenance (set eol-style to native)

svn path=/trunk/; revision=21808

14 years agoMove OBJ_NAME_PATH_SEPARATOR to ndk/obtypes.h (inspired by w3seek). Should make apply...
Aleksey Bragin [Fri, 5 May 2006 17:46:05 +0000 (17:46 +0000)]
Move OBJ_NAME_PATH_SEPARATOR to ndk/obtypes.h (inspired by w3seek). Should make applying NDK patch easier.

svn path=/trunk/; revision=21807

14 years agoFixed build.
Peter Ward [Fri, 5 May 2006 17:16:05 +0000 (17:16 +0000)]
Fixed build.
- Changed strcpyW to wcscpy.

svn path=/trunk/; revision=21806

14 years ago[AUDIT]
Aleksey Bragin [Fri, 5 May 2006 15:40:59 +0000 (15:40 +0000)]
[AUDIT]
drivers/network/wshtcpip

- Authors are Casper Hornstrup and Arthur Yerks
- Implemented functions are documented in OSR, MSDN and Google finds lots of links
- Result: Clean

svn path=/trunk/; revision=21805