reactos.git
10 years agorevert change to IoCreateFile
Timo Kreuzer [Wed, 3 Mar 2010 22:48:21 +0000 (22:48 +0000)]
revert change to IoCreateFile

svn path=/branches/header-work/; revision=45813

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Wed, 3 Mar 2010 21:06:23 +0000 (21:06 +0000)]
- Move more stuff to wdm.h
- Improve more Io* and Ke* definitions

svn path=/branches/header-work/; revision=45807

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Wed, 3 Mar 2010 19:24:25 +0000 (19:24 +0000)]
- Move more stuff to wdm.h
- Improve more Io* definitions
- Convert IoSetCompletionRoutine, IoSetNextIrpStackLocation and IoSkipCurrentIrpStackLocation to inline functions

svn path=/branches/header-work/; revision=45796

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Wed, 3 Mar 2010 18:30:50 +0000 (18:30 +0000)]
- Move more stuff to wdm.h
- Improve IoIs32bitProcess and more Io* definitions
- Convert IoMarkIrpPending to an inline function- Move more stuff to wdm.h

svn path=/branches/header-work/; revision=45795

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Wed, 3 Mar 2010 18:01:23 +0000 (18:01 +0000)]
- Move more stuff to wdm.h
- Improve more Io* definitions
- Fix KeInitializeDpc
- IoCreateFile and everywhere related : ExtraCreateParameters -> InternalParameters
- IoQueueWorkItem and everywhere related : Routine -> WorkerRoutine and pIoWorkItem -> IoWorkItem

svn path=/branches/header-work/; revision=45794

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Wed, 3 Mar 2010 16:55:25 +0000 (16:55 +0000)]
- Move more stuff to wdm.h
- Improve IoAcquireRemoveLock(EX) and several Io*
- Convert some macros to inline functions

svn path=/branches/header-work/; revision=45793

10 years ago- Move ntdef.h from ddk to psdk
Amine Khaldi [Wed, 3 Mar 2010 16:03:14 +0000 (16:03 +0000)]
- Move ntdef.h from ddk to psdk
- Move EVENT_TYPE to ntdef.h
- Introduce pragma once to wdm.h
- Fix FAST_MUTEX
- FastMutex->Gate => FastMutex->Event
- Improve KeInitializeEvent
- Improve InitializeSListHead

svn path=/branches/header-work/; revision=45789

10 years agoFix some pshpack / poppack includes
Timo Kreuzer [Wed, 3 Mar 2010 13:38:45 +0000 (13:38 +0000)]
Fix some pshpack / poppack includes

svn path=/branches/header-work/; revision=45788

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Wed, 3 Mar 2010 13:33:58 +0000 (13:33 +0000)]
- Move more stuff to wdm.h
- Improve PAGED_CODE, ProbeFor{Read,Write} and Cm(UN)RegisterCallback
- Group some related definitions.

svn path=/branches/header-work/; revision=45787

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Wed, 3 Mar 2010 13:02:26 +0000 (13:02 +0000)]
- Move more stuff to wdm.h
- Fix/Improve InitializeSListHead
- Convert some macros into inline functions

svn path=/branches/header-work/; revision=45786

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Wed, 3 Mar 2010 12:39:52 +0000 (12:39 +0000)]
- Move more stuff to wdm.h
- Fix RTL_VERIFYMSG
- Improve NLS_MB_CODE_PAGE_TAG and NLS_MB_OEM_CODE_PAGE_TAG
- Fix/Improve some RTL and Guarded Mutex routines

svn path=/branches/header-work/; revision=45785

10 years agoAdd several missing USB related definitions
Amine Khaldi [Wed, 3 Mar 2010 11:42:20 +0000 (11:42 +0000)]
Add several missing USB related definitions

svn path=/branches/header-work/; revision=45783

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Wed, 3 Mar 2010 11:38:57 +0000 (11:38 +0000)]
- Move more stuff to wdm.h
- Add missing MM_ALLOCATE_* definitions
- Improve KeTryToAcquireSpinLockAtDpcLevel and KeTestSpinLock
- Fix a typo in BYTES_TO_PAGES definition
- Remove a useless #if block
- Add missing ntddk.h include in ntoskrnl.h

svn path=/branches/header-work/; revision=45782

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Tue, 2 Mar 2010 16:14:22 +0000 (16:14 +0000)]
- Move more stuff to wdm.h
- Fix XMM_SAVE_AREA32
- Fix *PFN_* definitions

svn path=/branches/header-work/; revision=45758

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Tue, 2 Mar 2010 15:49:27 +0000 (15:49 +0000)]
- Move more stuff to wdm.h
- Improve Interrupt Request Level definitions
- KeGetCurrentIrql : DDKAPI -> NTAPI
- KeGetCurrentThread : Fix the definition, remove a redundant one and NTKERNELAPI -> NTSYSAPI

svn path=/branches/header-work/; revision=45757

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Tue, 2 Mar 2010 14:53:28 +0000 (14:53 +0000)]
- Move more stuff to wdm.h
- Fix REG_SET_VALUE_KEY_INFORMATION, REG_DELETE_VALUE_KEY_INFORMATION, REG_SET_INFORMATION_KEY_INFORMATION,  REG_ENUMERATE_KEY_INFORMATION, REG_ENUMERATE_VALUE_KEY_INFORMATION, REG_PRE_CREATE_KEY_INFORMATION,
REG_POST_CREATE_KEY_INFORMATION, REG_POST_OPERATION_INFORMATION and REG_KEY_HANDLE_CLOSE_INFORMATION definitions.

svn path=/branches/header-work/; revision=45756

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Tue, 2 Mar 2010 14:32:50 +0000 (14:32 +0000)]
- Move more stuff to wdm.h
- Group some related definitions
- Add missing TRACE_INFORMATION_CLASS members
- Improve REG_NOTIFY_CLASS
- Fix REG_DELETE_KEY_INFORMATION

svn path=/branches/header-work/; revision=45755

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Mon, 1 Mar 2010 21:46:34 +0000 (21:46 +0000)]
- Move more stuff to wdm.h
- Fix KBUGCHECK_CALLBACK_REASON
- Add missing KDPC_IMPORTANCE member

svn path=/branches/header-work/; revision=45751

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Mon, 1 Mar 2010 21:24:36 +0000 (21:24 +0000)]
- Move more stuff to wdm.h
- Add _PCI_COMMON_HEADER
- Improve _PCI_COMMON_CONFIG
- Enable msc extensions

svn path=/branches/header-work/; revision=45750

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Mon, 1 Mar 2010 14:32:44 +0000 (14:32 +0000)]
- Move more stuff to wdm.h
- Improve KWAIT_REASON
- Group related definitions

svn path=/branches/header-work/; revision=45745

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Mon, 1 Mar 2010 14:15:43 +0000 (14:15 +0000)]
- Move more stuff to wdm.h
- Add PCI_DISABLE_LEVEL_INTERRUPT, PCI_STATUS_DETECTED_PARITY_ERROR, PCI_SUBCLASS_NET_ISDN_CTLR, PCI_SUBCLASS_BR_RACEWAY and several missing PCI_CLASS_* definitions

svn path=/branches/header-work/; revision=45744

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Mon, 1 Mar 2010 13:26:33 +0000 (13:26 +0000)]
- Move more stuff to wdm.h
- Group some related definitions
- Add IO_TYPE_CSQ_EX
- Add some missing _KEY_SET_INFORMATION_CLASS members
- KeyUserFlagsInformation -> KeyWow64FlagsInformation

svn path=/branches/header-work/; revision=45741

10 years ago- Group some related definitions
Amine Khaldi [Mon, 1 Mar 2010 00:59:20 +0000 (00:59 +0000)]
- Group some related definitions
- Fix build

svn path=/branches/header-work/; revision=45734

10 years agoFix KSPIN_LOCK_QUEUE_NUMBER
Amine Khaldi [Sun, 28 Feb 2010 12:50:39 +0000 (12:50 +0000)]
Fix KSPIN_LOCK_QUEUE_NUMBER

svn path=/branches/header-work/; revision=45727

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Sun, 28 Feb 2010 11:43:01 +0000 (11:43 +0000)]
- Move more stuff to wdm.h
- Add missing SE_* defines
- Fix SE_MAX_WELL_KNOWN_PRIVILEGE define

svn path=/branches/header-work/; revision=45726

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Sun, 28 Feb 2010 10:42:29 +0000 (10:42 +0000)]
- Move more stuff to wdm.h
- Add several missing FO_* flags

svn path=/branches/header-work/; revision=45725

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Sun, 28 Feb 2010 10:19:57 +0000 (10:19 +0000)]
- Move more stuff to wdm.h
- Add several missing _FILE_INFORMATION_CLASS members
- Add a missing _FSINFOCLASS member

svn path=/branches/header-work/; revision=45724

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Sun, 28 Feb 2010 09:46:46 +0000 (09:46 +0000)]
- Move more stuff to wdm.h
- Add VPB_DIRECT_WRITES_ALLOWED, several missing FILE_CHARACTERISTIC_* and several missing FILE_DEVICE_*
- Fix _DEVICE_RELATION_TYPE
- Improve _DEVICE_OBJECT and _SCATTER_GATHER_LIST

svn path=/branches/header-work/; revision=45723

10 years agoMake sure that __int64/long long types in crt don't produce warnings in ISO-C/C+...
Kai Tietz [Sun, 28 Feb 2010 09:37:57 +0000 (09:37 +0000)]
Make sure that __int64/long long types in crt don't produce warnings in ISO-C/C++ mode.

svn path=/branches/header-work/; revision=45722

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Sun, 28 Feb 2010 09:19:00 +0000 (09:19 +0000)]
- Move more stuff to wdm.h
- CmResourceTypeMaximum -> CmResourceTypeMemoryLarge
- Add some missing CM_RESOURCE_* defines
- Fix CM_Power_Data_s

svn path=/branches/header-work/; revision=45721

10 years agoMerge version with mingw-w64 trunk version.
Kai Tietz [Sun, 28 Feb 2010 09:17:39 +0000 (09:17 +0000)]
Merge version with mingw-w64 trunk version.

svn path=/branches/header-work/; revision=45720

10 years agoAdd __MINGW_EXTENSION to _mingw.h to suppress warnings for unnamed struct/union and...
Kai Tietz [Sun, 28 Feb 2010 09:12:16 +0000 (09:12 +0000)]
Add __MINGW_EXTENSION to _mingw.h to suppress warnings for unnamed struct/union and the use of 'long long' in ISO C/C++.

svn path=/branches/header-work/; revision=45719

10 years agoFix crt definition of TCHAR, ...
Kai Tietz [Sun, 28 Feb 2010 08:29:07 +0000 (08:29 +0000)]
Fix crt definition of TCHAR, ...

svn path=/branches/header-work/; revision=45718

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Sun, 28 Feb 2010 00:00:57 +0000 (00:00 +0000)]
- Move more stuff to wdm.h
- Improve _IRP, (_)KSPIN_LOCK_QUEUE_NUMBER, _KDEVICE_QUEUE, _KTIMER and layout some IRP flags.

svn path=/branches/header-work/; revision=45713

10 years agoMove more stuff to wdm.h fixing what needed to be fixed.
Amine Khaldi [Sat, 27 Feb 2010 22:25:01 +0000 (22:25 +0000)]
Move more stuff to wdm.h fixing what needed to be fixed.

svn path=/branches/header-work/; revision=45712

10 years agoMove more stuff to wdm.h
Amine Khaldi [Sat, 27 Feb 2010 18:55:11 +0000 (18:55 +0000)]
Move more stuff to wdm.h

svn path=/branches/header-work/; revision=45709

10 years agoGuard IN, OUT, and OPTIONAL by guards to prevent double definition warning.
Kai Tietz [Sat, 27 Feb 2010 18:34:13 +0000 (18:34 +0000)]
Guard IN, OUT, and OPTIONAL by guards to prevent double definition warning.

svn path=/branches/header-work/; revision=45708

10 years agoMove more stuff to wdm.h
Amine Khaldi [Sat, 27 Feb 2010 17:52:27 +0000 (17:52 +0000)]
Move more stuff to wdm.h

svn path=/branches/header-work/; revision=45707

10 years ago- Move more stuff to wdm.h
Amine Khaldi [Sat, 27 Feb 2010 16:35:54 +0000 (16:35 +0000)]
- Move more stuff to wdm.h
- FILE_OPEN_FOR_RECOVERY should be FILE_OPEN_REMOTE_INSTANCE

svn path=/branches/header-work/; revision=45705

10 years agoMove more stuff to wdm.h
Amine Khaldi [Sat, 27 Feb 2010 16:16:32 +0000 (16:16 +0000)]
Move more stuff to wdm.h

svn path=/branches/header-work/; revision=45704

10 years agoMove more stuff to wdm.h
Amine Khaldi [Sat, 27 Feb 2010 15:47:38 +0000 (15:47 +0000)]
Move more stuff to wdm.h

svn path=/branches/header-work/; revision=45703

10 years agoMove GUID comparison macro to wdm.h
Amine Khaldi [Sat, 27 Feb 2010 15:09:59 +0000 (15:09 +0000)]
Move GUID comparison macro to wdm.h

svn path=/branches/header-work/; revision=45700

10 years agoMove alignment macros to wdm.h
Amine Khaldi [Sat, 27 Feb 2010 14:59:20 +0000 (14:59 +0000)]
Move alignment macros to wdm.h

svn path=/branches/header-work/; revision=45699

10 years agoGuard ANONYMOUS defines by __ANONYMOUS_DEFINED guard to prevent double definitions...
Kai Tietz [Sat, 27 Feb 2010 14:43:32 +0000 (14:43 +0000)]
Guard ANONYMOUS defines by __ANONYMOUS_DEFINED guard to prevent double definitions. Additional synchronize amount of DUMMYSTRUCTNAME defines.

svn path=/branches/header-work/; revision=45698

10 years ago* Disable compiling usermode components for now.
Amine Khaldi [Sat, 27 Feb 2010 14:22:19 +0000 (14:22 +0000)]
* Disable compiling usermode components for now.

svn path=/branches/header-work/; revision=45697

10 years agoDrop special treating of gcc version < 2.95.
Kai Tietz [Sat, 27 Feb 2010 14:15:11 +0000 (14:15 +0000)]
Drop special treating of gcc version < 2.95.

svn path=/branches/header-work/; revision=45696

10 years agoMake sure that __int64 is getting prefix by __GCC_EXTENSION to avoid warnings for...
Kai Tietz [Sat, 27 Feb 2010 14:01:48 +0000 (14:01 +0000)]
Make sure that __int64 is getting prefix by __GCC_EXTENSION to avoid warnings for x64 gcc and the use of long long type in ISO-C/C++.

svn path=/branches/header-work/; revision=45695

10 years agoMake sure that unnamed union/struct are prefix by __GCC_EXTENSION.
Kai Tietz [Sat, 27 Feb 2010 13:53:12 +0000 (13:53 +0000)]
Make sure that unnamed union/struct are prefix by __GCC_EXTENSION.

svn path=/branches/header-work/; revision=45694

10 years agoExtend unnamed union/struct by __GNU_EXTENSION in wdm.h
Kai Tietz [Sat, 27 Feb 2010 12:04:42 +0000 (12:04 +0000)]
Extend unnamed union/struct by __GNU_EXTENSION in wdm.h

svn path=/branches/header-work/; revision=45693

10 years agoAdd __GNU_EXTENSION macro for enabling gcc's extension on demand.
Kai Tietz [Sat, 27 Feb 2010 10:31:01 +0000 (10:31 +0000)]
Add __GNU_EXTENSION macro for enabling gcc's extension on demand.

svn path=/branches/header-work/; revision=45692

10 years agoCreate a branch for header work.
Timo Kreuzer [Fri, 26 Feb 2010 22:57:55 +0000 (22:57 +0000)]
Create a branch for header work.

svn path=/branches/header-work/; revision=45691

10 years ago[NTDLL]
Aleksey Bragin [Fri, 26 Feb 2010 22:52:55 +0000 (22:52 +0000)]
[NTDLL]
- LdrpProcessImportDirectoryEntry: Don't try to fixup functions if an import address table is empty. Fixes Panzer General 2. Most of the work of discovering, fixing and testing this problem was performed by Olaf Siejka.

svn path=/trunk/; revision=45690

10 years agoMaarten Kroese
Aleksey Bragin [Fri, 26 Feb 2010 19:09:43 +0000 (19:09 +0000)]
Maarten Kroese
- SHELL_MergeMenus: Don't skip higher IDs if uIDAdjustMax is set to 0xFFFF (according to MSDN).

svn path=/trunk/; revision=45688

10 years ago- Merge Wine-1.1.39 changes to shlmenu.c.
Aleksey Bragin [Fri, 26 Feb 2010 18:58:21 +0000 (18:58 +0000)]
- Merge Wine-1.1.39 changes to shlmenu.c.

svn path=/trunk/; revision=45687

10 years agoWe don't need "csq.h" twice in our tree.
Colin Finck [Fri, 26 Feb 2010 15:22:39 +0000 (15:22 +0000)]
We don't need "csq.h" twice in our tree.
This ancient version didn't even receive the GCC 4.1 compatibility update from years ago, so it's safe to remove it.

svn path=/trunk/; revision=45686

10 years ago- Move from using include guards to pragma once.
Ged Murphy [Fri, 26 Feb 2010 11:43:19 +0000 (11:43 +0000)]
- Move from using include guards to pragma once.
- Whilst this is non-standard and potentially makes the code less portable, it's supported by both gcc and msvc and should bringg increased compilation speed due to its optimized behaviour (doesn't need to invoke the preprocessor)
- Patch by Amine Khaldi [amine.khaldi@reactos.org]

svn path=/trunk/; revision=45685

10 years ago[BDAPLGIN]
Johannes Anderwald [Fri, 26 Feb 2010 01:53:48 +0000 (01:53 +0000)]
[BDAPLGIN]
- Add macro to enable/disable debug output
- Query the BaseFilter for the target control pin in order to query for IKsObject interface, which is used to retrieve the real pin handle.
- Pass the NodeId to constructors of IBDA_FrequencyFilter, IBDA_SignalStatistics, IBDA_LNBInfo, IBDA_DigitalDemodulator
- Implement IBDA_DigitalDemodulator::put_ModulationType, IBDA_DigitalDemodulator::put_InnerFECMethod, IBDADigitalDemodulator::put_InnerFECRate, IBDADigitalDemodulator::put_OuterFECMethod, IBDADigitalDemodulator::put_OuterFECRate, IBDADigitalDemodulator::put_SymbolRate, IBDADigitalDemodulator::put_SpectralInversion
- Implement IBDAFrequencyFilter::put_Frequency, IBDAFrequencyFilter::put_Polarity, IBDAFrequencyFilter::put_Range, IBDAFrequencyFilter::put_Bandwidth, IBDAFrequencyFilter::put_FrequencyMultiplier
- Implement IBDALNBInfo::put_LocalOscilatorFrequencyLowBand, IBDALNBInfo::put_LocalOscilatorFrequencyHighBand, IBDALNBInfo::put_HighLowSwitchFrequency
- Implement IBDASignalStatistics::get_SignalStrength, IBDASignalStatistics::get_SignalQuality, IBDASignalStatistics::get_SignalPresent, IBDASignalStatistics::get_SignalLocked, IBDASignalStatistics::put_SampleTime, IBDASignalStatistics::get_SampleTime
- Implement IBDA_DeviceControl::StartChanges, IBDA_DeviceControl::CheckChanges, IBDA_DeviceControl::CommitChanges, IBDA_DeviceControl::GetChangeState
- IBDA_DeviceControl interface now works with SageDvbRecorder(Windows XP SP3)

svn path=/trunk/; revision=45684

10 years ago[HAL]
Timo Kreuzer [Fri, 26 Feb 2010 00:07:22 +0000 (00:07 +0000)]
[HAL]
- Replace the inline assembly for entering V86 and the actual V86 stub with real assembly. This is neccesary for compiler portability. Also creating 16 bit V86 assembly using 32 bit inline assembly is rather hackish.

svn path=/trunk/; revision=45683

10 years ago[PSDK]
Johannes Anderwald [Thu, 25 Feb 2010 22:31:02 +0000 (22:31 +0000)]
[PSDK]
- Add KSPROPERTY_BDA_FREQUENCY_FILTER, KSPROPERTY_BDA_DIGITAL_DEMODULATOR, KSPROPERTY_BDA_LNB_INFO, KSPROPERTY_BDA_SIGNAL_STATS properties for BDAPLGIN

svn path=/trunk/; revision=45682

10 years ago[BDAPLGIN]
Johannes Anderwald [Thu, 25 Feb 2010 16:14:54 +0000 (16:14 +0000)]
[BDAPLGIN]
- Simply construction of CBDAFrequencyFilter, CBDALNBInfo, CBDASignalStatistics
- Find IBDA_NetworkProvider in filter graph
- Check for IBaseFilter interface when constructing the CBDADeviceControl object

svn path=/trunk/; revision=45681

10 years ago[BDAPLGIN]
Johannes Anderwald [Wed, 24 Feb 2010 18:37:07 +0000 (18:37 +0000)]
[BDAPLGIN]
- Implement IBDA_Topology::GetNodeTypes, IBDA_Topology::GetNodeDescriptors, IBDA_Topology::GetNodeInterfaces, IBDA_Topology::GetPinTypes, IBDA_Topology::CreateTopology, IBDA_Topology::GetControlNode
- Implement stub interfaces for control node, IBDA_DigitalDemodulator, IBDA_FrequencyFilter, IBDA_LNBInfo, IBDA_SignalStatistics

svn path=/trunk/; revision=45680

10 years ago[BDAPLGIN]
Johannes Anderwald [Tue, 23 Feb 2010 21:28:51 +0000 (21:28 +0000)]
[BDAPLGIN]
- Try fix build
- Sorry folks

svn path=/trunk/; revision=45679

10 years ago[DXSDK]
Johannes Anderwald [Tue, 23 Feb 2010 17:40:34 +0000 (17:40 +0000)]
[DXSDK]
- Add BDA Change Sync Method Set
[BDAPLGIN]
- Add "BDA Device Control Plug-in for MPEG2 based networks" stub

svn path=/trunk/; revision=45677

10 years ago[DDK]
Johannes Anderwald [Tue, 23 Feb 2010 17:25:46 +0000 (17:25 +0000)]
[DDK]
- Fix IID_IUnknown definition 3/X

svn path=/trunk/; revision=45676

10 years ago[KSPROXY]
Johannes Anderwald [Tue, 23 Feb 2010 17:19:45 +0000 (17:19 +0000)]
[KSPROXY]
- Fix IID_IUnknown definition 3/X

svn path=/trunk/; revision=45675

10 years ago[KS]
Johannes Anderwald [Tue, 23 Feb 2010 17:18:07 +0000 (17:18 +0000)]
[KS]
- Fix IID_IUnknown definition 2/X

svn path=/trunk/; revision=45674

10 years ago[PORTCLS]
Johannes Anderwald [Tue, 23 Feb 2010 17:16:56 +0000 (17:16 +0000)]
[PORTCLS]
- Fix IID_IUnknown definition 1/X

svn path=/trunk/; revision=45673

10 years agoremove unused library
Ged Murphy [Tue, 23 Feb 2010 16:00:02 +0000 (16:00 +0000)]
remove unused library

svn path=/trunk/; revision=45672

10 years ago[Win32k]
James Tabor [Tue, 23 Feb 2010 15:42:08 +0000 (15:42 +0000)]
[Win32k]
- If dc is window owned and not class owned do not set class if null pdce. Added debug prints to locate reentrancy issues due to a race condition.
- Add more checks to find dead windows.

svn path=/trunk/; revision=45671

10 years ago[User32]
James Tabor [Tue, 23 Feb 2010 15:28:45 +0000 (15:28 +0000)]
[User32]
- Remove 16 bit'isms. Added back removed code and commented it out with added notes.
- Jason Edmeades : Combo should preselect all text on first WM_SETFOCUS.
- Kusanagi Kouichi : Consolidate empty string.
- Alexandre Julliard : Don' t forward WM_SETCURSOR to the desktop window. Modified.
- Dmitry Timoshkov : In a DLGTEMPLATEEX resource dialog version goes before signature.
- Due to truck freeze, there might have slipped in miscellaneous patches.

svn path=/trunk/; revision=45670

10 years ago[KSPROXY]
Johannes Anderwald [Tue, 23 Feb 2010 15:25:59 +0000 (15:25 +0000)]
[KSPROXY]
- Fix file headers for Christoph
- Add debug spam
- IsEqualIID uses REFIID

svn path=/trunk/; revision=45669

10 years ago[usb/usbehci]
Michael Martin [Tue, 23 Feb 2010 11:20:15 +0000 (11:20 +0000)]
[usb/usbehci]
- Add back WorkItem code but use it for calling the hub drivers callback routine (telling hub driver it needs check port status).
- Add missing break for case URB_FUNCTION_GET_STATUS_FROM_DEVICE.
- RootHubInitNotification: BusContext is the Device Object not the Device Objects Extensions.
- UsbEhci now receives URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER IN requests,
 which is where we want to be for informing hub driver which port a device has been connected.

svn path=/trunk/; revision=45668

10 years ago[Win32k|Gdi32]
James Tabor [Tue, 23 Feb 2010 04:18:24 +0000 (04:18 +0000)]
[Win32k|Gdi32]
- Fix GdiBatch, the limit is for user space not system. Revert 45659.

svn path=/trunk/; revision=45667

10 years ago[Win32k]
James Tabor [Tue, 23 Feb 2010 03:17:37 +0000 (03:17 +0000)]
[Win32k]
- Fix the new GetClipRgn clipping wine test for EqualRgn and clip region note.

svn path=/trunk/; revision=45666

10 years ago[User32]
James Tabor [Tue, 23 Feb 2010 03:14:09 +0000 (03:14 +0000)]
[User32]
- ReactOS uses DCX_KEEPCLIPRGN to prevent the deletion of regions so user support can manage them. Comctl32 depends on this since it does not delete the regions after calling DefWindowProc.

svn path=/trunk/; revision=45665

10 years ago[Win32k]
James Tabor [Tue, 23 Feb 2010 03:08:16 +0000 (03:08 +0000)]
[Win32k]
- Properly assign error code when a real status error occurred.
- Free the non user event container for WaitForInputIdle.

svn path=/trunk/; revision=45664

10 years agoSplit the initial status code for drivers and services.
Eric Kohl [Mon, 22 Feb 2010 23:17:03 +0000 (23:17 +0000)]
Split the initial status code for drivers and services.

You can easily test services by uncommenting '#define USE_SERVICE_STATUS_PENDING'.

svn path=/trunk/; revision=45663

10 years agoPut Vizzini's "csq.h" in the Public Domain with permission from the author:
Colin Finck [Mon, 22 Feb 2010 22:00:00 +0000 (22:00 +0000)]
Put Vizzini's "csq.h" in the Public Domain with permission from the author:

<sedwards>    I talked to vizini
<sedwards>    it's public domain
<sedwards>    do what you will
<sedwards>    slap your name on it
<sedwards>    and submit it
<Colin_Finck> I can just do a commit to put it under PD now and everything will be alright?
<sedwards>    yes, the author who wishes to remain anonymous is quite fine with that

svn path=/trunk/; revision=45662

10 years agoClean up RPCSS.
Dmitry Gorbachev [Mon, 22 Feb 2010 21:36:07 +0000 (21:36 +0000)]
Clean up RPCSS.

svn path=/trunk/; revision=45661

10 years agofix build
Christoph von Wittich [Mon, 22 Feb 2010 19:49:58 +0000 (19:49 +0000)]
fix build

svn path=/trunk/; revision=45660

10 years ago[GDI32]
Timo Kreuzer [Mon, 22 Feb 2010 19:27:35 +0000 (19:27 +0000)]
[GDI32]
- Quickfix the region leak, by commenting out the user mode part in DeleteRegion. Thanks to Caemyr for finding the guilty revision.

svn path=/trunk/; revision=45659

10 years agoRevert remaining parts of patches 45626 and 45633.
Eric Kohl [Mon, 22 Feb 2010 19:26:54 +0000 (19:26 +0000)]
Revert remaining parts of patches 45626 and 45633.

svn path=/trunk/; revision=45658

10 years ago[PSDK]
Johannes Anderwald [Mon, 22 Feb 2010 19:03:09 +0000 (19:03 +0000)]
[PSDK]
- Add BDA interfaces

svn path=/trunk/; revision=45657

10 years agoReenable critical debug messages.
Eric Kohl [Mon, 22 Feb 2010 18:56:51 +0000 (18:56 +0000)]
Reenable critical debug messages.

svn path=/trunk/; revision=45656

10 years ago[NTOS]: Enable high/low memory events notifications.
Aleksey Bragin [Mon, 22 Feb 2010 16:44:13 +0000 (16:44 +0000)]
[NTOS]: Enable high/low memory events notifications.

svn path=/trunk/; revision=45655

10 years ago[NTOS]: Temporarily disable last part of MiInsertZeroListAtBack which seems to cause...
Aleksey Bragin [Mon, 22 Feb 2010 13:39:30 +0000 (13:39 +0000)]
[NTOS]: Temporarily disable last part of MiInsertZeroListAtBack which seems to cause issues in the 1st stage.

svn path=/trunk/; revision=45654

10 years ago- Buildbot defibrillation attempt 2/2.
Aleksey Bragin [Sun, 21 Feb 2010 22:38:08 +0000 (22:38 +0000)]
- Buildbot defibrillation attempt 2/2.

svn path=/trunk/; revision=45653

10 years ago- Buildbot defibrillation attempt 1/2 (proposed by Colin).
Aleksey Bragin [Sun, 21 Feb 2010 22:26:07 +0000 (22:26 +0000)]
- Buildbot defibrillation attempt 1/2 (proposed by Colin).

svn path=/trunk/; revision=45652

10 years ago- Add patch back after sync with force.
James Tabor [Sun, 21 Feb 2010 12:47:07 +0000 (12:47 +0000)]
- Add patch back after sync with force.

svn path=/trunk/; revision=45650

10 years ago- Add patch back after sync.
James Tabor [Sun, 21 Feb 2010 12:35:18 +0000 (12:35 +0000)]
- Add patch back after sync.

svn path=/trunk/; revision=45649

10 years agoUse the most probable cabman and rapps path to get this batch file to work for most...
Colin Finck [Sun, 21 Feb 2010 12:03:45 +0000 (12:03 +0000)]
Use the most probable cabman and rapps path to get this batch file to work for most people.

svn path=/trunk/; revision=45648

10 years ago[usb/usbehci]
Michael Martin [Sun, 21 Feb 2010 11:34:54 +0000 (11:34 +0000)]
[usb/usbehci]
- Add missing break's in CompletePendingURBRequest that caused crashes.- Add some debugging for Urb Function URB_FUNCTION_CLASS_OTHER.
- Implement IOCTL_INTERNAL_USB_GET_HUB_COUNT returning only 0 Hubs for now.
- Implement RootHubInitNotification.
- Misc cleanup.

svn path=/trunk/; revision=45647

10 years ago[NTOS]: Insert pages into zero list with specific MiInsertZeroListAtBack function...
Sir Richard [Sun, 21 Feb 2010 03:52:22 +0000 (03:52 +0000)]
[NTOS]: Insert pages into zero list with specific MiInsertZeroListAtBack function instead of generic MiInsertInTailList. Allows us to handle insertion into colored page lists (not yet used) correctly, as well as update the page location to ZeroedPageList automatically (so don't let the callers do this anymore). Also handle memory threshold accounting.

svn path=/trunk/; revision=45645

10 years ago- Add patch back after sync.
James Tabor [Sun, 21 Feb 2010 03:18:19 +0000 (03:18 +0000)]
- Add patch back after sync.

svn path=/trunk/; revision=45644

10 years ago- Sync to wine release 1.1.39.
James Tabor [Sun, 21 Feb 2010 03:11:32 +0000 (03:11 +0000)]
- Sync to wine release 1.1.39.

svn path=/trunk/; revision=45643

10 years ago- Sync to wine release 1.1.39.
James Tabor [Sun, 21 Feb 2010 03:00:07 +0000 (03:00 +0000)]
- Sync to wine release 1.1.39.

svn path=/trunk/; revision=45642

10 years ago[NTOS]: Use system PTEs for drivers, both boot drivers and system-loaded drivers...
Sir Richard [Sun, 21 Feb 2010 02:13:20 +0000 (02:13 +0000)]
[NTOS]: Use system PTEs for drivers, both boot drivers and system-loaded drivers. This removes the last user of the deprecated MmAllocateSection internal API. Another side-effect is that drivers will now have much higher load addresses (in the 0xF0000000 and higher range), as you would expect on Windows, plus increasing coverage and usage of system PTEs (which can still be optimized).
[NTOS]: Do not "copy" boot drivers from one set of pages to another set of pages. Instead, use system PTEs to map the boot drivers to a new VA, and set the PFNs to the original PFNs that the loader had obtained (and don't free that memory). This avoids some overhead.
[NTOS]: Now the only user of MmMapMemoryArea is the caching code, which I won't touch.

svn path=/trunk/; revision=45641

10 years agoPartially revert patches 45626 and 45633.
Eric Kohl [Sat, 20 Feb 2010 23:10:53 +0000 (23:10 +0000)]
Partially revert patches 45626 and 45633.

Several services do not report their status to the service manager properly. Therefore we must not use any code that relies on service status information as part of the setup and boot processes as long as these issues have not been fixed. The service manager still needs to provide fake information about the service status.

svn path=/trunk/; revision=45640

10 years ago- Don't prepend fastcall forward's target with @. Fixes binding issues in videoprt...
Aleksey Bragin [Sat, 20 Feb 2010 22:53:11 +0000 (22:53 +0000)]
- Don't prepend fastcall forward's target with @. Fixes binding issues in videoprt, thanks to Olaf Siejka for identifying the issue.

svn path=/trunk/; revision=45639

10 years ago[NTOS]: Make MM init read MmProductType to determine what SKU of ReactOS this is...
Sir Richard [Sat, 20 Feb 2010 21:48:36 +0000 (21:48 +0000)]
[NTOS]: Make MM init read MmProductType to determine what SKU of ReactOS this is, instead of assuming Server. If you want to go back to the old behavior, you need to change "WinNT" to "ServerNT" in the hivesys under Product Type.
[NTOS]: Configure the MmSystemSize variable properly based on SKU and RAM. Previously, ReactOS told all drivers and applications you were running on a system with < 13MB RAM.
[NTOS]: Initialize thresholds for low and high memory (in pages), low and high paged pool memory, and low and high nonpaged pool memory. These are described in the source.
[NTOS]: Initialize events for each of those thresholds, and populate the \KernelObject\xxxCondition events that are documented in MSDN for driver and app developers.
[NTOS]: Define some internal thresholds to use later, representing the minimum number of free pages under we go berserk, and the minimum number of free pages that we consider "plenty".
[NTOS]: Rename MiRemoveFromList to MiUnlinkFreeOrZeroedPage (Windows name). Make the function handle MmAvailablePages decrement, instead of having the caller do it.
[NTOS]: Remove run-time initialization of the PFN lists, just initialize them statically (also fixes the fact we forgot to initialize their names).
[NTOS]: Move some more initialization code to ARM3 instead of mm.
[NTOS]: Read ProductType from registry into MmProductType instead of dummy value. Remove duplicate "Mirroring" variable read.

svn path=/trunk/; revision=45638