reactos.git
14 years ago[USER32]
Christoph von Wittich [Wed, 17 Mar 2010 16:20:55 +0000 (16:20 +0000)]
[USER32]
reduce diff to wine

svn path=/trunk/; revision=46251

14 years ago[NTOS]
Timo Kreuzer [Wed, 17 Mar 2010 16:17:16 +0000 (16:17 +0000)]
[NTOS]
I forgot to set the exit function for systems without sysenter/sysexit support. Should fix sysreg.

svn path=/trunk/; revision=46250

14 years ago[NTOS]
Timo Kreuzer [Wed, 17 Mar 2010 13:12:46 +0000 (13:12 +0000)]
[NTOS]
Rewrite Trap exits stubs in raw assembly (2nd try) and remove inline assembly. Bugcheck in KiTrap0DHandler, when the fault was not handled. Replace code patching for sysexit vs iret with a function pointer. Slightly refactor KiSystemServiceHandler/KiFastCallEntryHanlder. Unroll the loop in the systemcall handler and use volatile keyword when reloading TrapFrame and DescriptorTable from the new stack after converting to gui thread to prevent the compiler from optimizing it away (or moving it out of the loop). Add an asm macro KiCallHandler, which expands to call on debug builds to make sure backtraces work as expected and to jmp on release builds for improved performance. Modify KiExitV86Trap to always exit and add DECLSPEC_NORETURN. Use __debugbreak() instead of while(TRUE) on errors in KiExitTrapDebugChecks.
The old code hat 2 issues: one was restoring segments in KiExitV86Trap when they shouldn't be, leading to a bugcheck. And the other was a long hang (5 mintes or more) in 3rd stage on qemu when selecting RosDbg, caused by the KiFastCallExitHandler function pointer being initialized with a pointer to the iret handler. Initializing it in code solved the issue. To figure out why is left as an exercise to the reader.

svn path=/trunk/; revision=46247

14 years ago[WIN32K]
Kamil Hornicek [Wed, 17 Mar 2010 12:11:55 +0000 (12:11 +0000)]
[WIN32K]
When adding new glyph cache entry convert the glyph bitmap with proper alignment to comply with the new code in EngCreateBitmap and remove the corresponding hack from SURFMEM_bCreateDib.

[FREETYPE]
When doing 1BPP -> 8BPP conversion set all 8 bits not only the LSB. (Freetype devs were notified of this issue)
See issue #5244 for more details.

svn path=/trunk/; revision=46246

14 years ago - Enable ACPI
Cameron Gutman [Wed, 17 Mar 2010 09:25:55 +0000 (09:25 +0000)]
 - Enable ACPI
 - Please send all complaints to roswarrior ;)

svn path=/trunk/; revision=46243

14 years ago - Set the resource pointer back to the start of the list before looping a second...
Cameron Gutman [Wed, 17 Mar 2010 09:25:07 +0000 (09:25 +0000)]
 - Set the resource pointer back to the start of the list before looping a second time
 - Remove the duplicate OSL
 - Disable more debug prints
 - ROS with ACPI has been booted successfully on VirtualBox (with additions), QEMU, and VMware

svn path=/trunk/; revision=46242

14 years ago - Check that the memory location that we are trying to read is valid
Cameron Gutman [Wed, 17 Mar 2010 08:48:57 +0000 (08:48 +0000)]
 - Check that the memory location that we are trying to read is valid
 - Remove the VMware hack
 - ACPI works on all tested VMs now (QEMU, VirtualBox, and VMware)
 - Just a resource code issue remains and prevents us from enabling ACPI by default

svn path=/trunk/; revision=46241

14 years ago - Check that the device number is not invalid
Cameron Gutman [Wed, 17 Mar 2010 07:16:08 +0000 (07:16 +0000)]
 - Check that the device number is not invalid
 - ACPI now crashes later on VMware

svn path=/trunk/; revision=46240

14 years ago - Don't acquire the mutex in the ISR handler because we're at a raised IRQL
Cameron Gutman [Wed, 17 Mar 2010 06:19:01 +0000 (06:19 +0000)]
 - Don't acquire the mutex in the ISR handler because we're at a raised IRQL
 - Fixes VirtualBox Additions with ACPI enabled

svn path=/trunk/; revision=46239

14 years ago - Define NDEBUG and demote several non-critical debug prints to DPRINT
Cameron Gutman [Wed, 17 Mar 2010 05:30:22 +0000 (05:30 +0000)]
 - Define NDEBUG and demote several non-critical debug prints to DPRINT

svn path=/trunk/; revision=46238

14 years ago - Add a hack to disable ACPI if VMware is detected
Cameron Gutman [Wed, 17 Mar 2010 05:02:06 +0000 (05:02 +0000)]
 - Add a hack to disable ACPI if VMware is detected
 - This hack circumvents the main blocker that prevents enabling ACPI in trunk

svn path=/trunk/; revision=46237

14 years ago[USER32]
Christoph von Wittich [Wed, 17 Mar 2010 00:11:31 +0000 (00:11 +0000)]
[USER32]
reduce diff to wine

svn path=/trunk/; revision=46236

14 years ago[ADVAPI32]
Eric Kohl [Tue, 16 Mar 2010 23:10:03 +0000 (23:10 +0000)]
[ADVAPI32]
- Create a service status handle when a service starts and destroy it after it has been stopped.

svn path=/trunk/; revision=46233

14 years agoUpdate some more apps. (OpenOffice 3.2.0, SciTE 2.03)
Daniel Reimer [Tue, 16 Mar 2010 22:37:53 +0000 (22:37 +0000)]
Update some more apps. (OpenOffice 3.2.0, SciTE 2.03)

svn path=/trunk/; revision=46232

14 years ago[USER32]
Christoph von Wittich [Tue, 16 Mar 2010 22:21:20 +0000 (22:21 +0000)]
[USER32]
reduce diff to wine

svn path=/trunk/; revision=46231

14 years agoUpdate openoffice 2.4 Links to a new and working mirror
Daniel Reimer [Tue, 16 Mar 2010 22:08:44 +0000 (22:08 +0000)]
Update openoffice 2.4 Links to a new and working mirror

svn path=/trunk/; revision=46230

14 years ago[KERNEL32]
Christoph von Wittich [Tue, 16 Mar 2010 17:50:04 +0000 (17:50 +0000)]
[KERNEL32]
reduce diff to wine

svn path=/trunk/; revision=46229

14 years ago[SHELL32]
Christoph von Wittich [Tue, 16 Mar 2010 12:26:49 +0000 (12:26 +0000)]
[SHELL32]
reduce diffs to wine

svn path=/trunk/; revision=46225

14 years ago[KSPROXY]
Christoph von Wittich [Tue, 16 Mar 2010 12:11:39 +0000 (12:11 +0000)]
[KSPROXY]
fix file headers

svn path=/trunk/; revision=46224

14 years ago[SHELL32]
Christoph von Wittich [Tue, 16 Mar 2010 12:02:45 +0000 (12:02 +0000)]
[SHELL32]
sync SHNotifyCopyFileW to wine 1.1.40

svn path=/trunk/; revision=46223

14 years ago[KSPROXY]
Johannes Anderwald [Tue, 16 Mar 2010 11:12:19 +0000 (11:12 +0000)]
[KSPROXY]
- Implement IKsPinPipe for CInputPin & COutputPin
- Implement IKsPinFactory, IStreamBuilder for CInputPin
- Implement IKsAggregateControl, IQualityControl stub for CInputPin & COutputPin

svn path=/trunk/; revision=46222

14 years ago[DXSDK]
Johannes Anderwald [Tue, 16 Mar 2010 11:09:19 +0000 (11:09 +0000)]
[DXSDK]
- Add IAMBufferNegotiation interface

svn path=/trunk/; revision=46221

14 years ago[DXDIAG]
Christoph von Wittich [Tue, 16 Mar 2010 10:47:04 +0000 (10:47 +0000)]
[DXDIAG]
get next button to work

svn path=/trunk/; revision=46220

14 years ago[ADVAPI32]
Christoph von Wittich [Tue, 16 Mar 2010 09:29:28 +0000 (09:29 +0000)]
[ADVAPI32]
sync RegpApplyRestrictions to wine 1.1.40

svn path=/trunk/; revision=46219

14 years agoLink buslogic.sys against libcntpr. This should fix "undefined reference" errors...
Dmitry Gorbachev [Mon, 15 Mar 2010 22:54:09 +0000 (22:54 +0000)]
Link buslogic.sys against libcntpr. This should fix "undefined reference" errors reported on the forum.

svn path=/trunk/; revision=46217

14 years ago[PSDK]
Christoph von Wittich [Mon, 15 Mar 2010 22:21:34 +0000 (22:21 +0000)]
[PSDK]
fix callback definition

svn path=/trunk/; revision=46216

14 years ago[NTDLL_WINETEST]
Christoph von Wittich [Mon, 15 Mar 2010 22:13:19 +0000 (22:13 +0000)]
[NTDLL_WINETEST]
sync ntdll_winetest to wine 1.1.40

svn path=/trunk/; revision=46215

14 years ago[KERNEL32]
Christoph von Wittich [Mon, 15 Mar 2010 22:04:15 +0000 (22:04 +0000)]
[KERNEL32]
sync parameter validation for SearchPath with wine 1.1.40

svn path=/trunk/; revision=46214

14 years ago[NTDLL_WINETEST]
Christoph von Wittich [Mon, 15 Mar 2010 17:59:46 +0000 (17:59 +0000)]
[NTDLL_WINETEST]
partial sync of ntdll_winetest to match newer structs in winternl

svn path=/trunk/; revision=46213

14 years ago[DBGHELP]
Christoph von Wittich [Mon, 15 Mar 2010 17:58:48 +0000 (17:58 +0000)]
[DBGHELP]
sync dbghelp with wine 1.1.40

svn path=/trunk/; revision=46212

14 years agoUpdate log2lines to ver. 2.2. Jan Roeloffzen, bug #4342.
Dmitry Gorbachev [Mon, 15 Mar 2010 17:03:37 +0000 (17:03 +0000)]
Update log2lines to ver. 2.2. Jan Roeloffzen, bug #4342.

svn path=/trunk/; revision=46211

14 years ago- Fix build
Johannes Anderwald [Mon, 15 Mar 2010 16:23:45 +0000 (16:23 +0000)]
- Fix build

svn path=/trunk/; revision=46209

14 years ago[KSPROXY]
Johannes Anderwald [Mon, 15 Mar 2010 16:22:41 +0000 (16:22 +0000)]
[KSPROXY]
- Implement IKsDataTypeHandler::KsIsMediaTypeInRanges, IKsDataTypeHandler::KsSetMediaType
- Instantiate the IKsInterfaceHandler for the CInputPin

svn path=/trunk/; revision=46208

14 years ago[ADVAPI32]
Christoph von Wittich [Mon, 15 Mar 2010 15:44:35 +0000 (15:44 +0000)]
[ADVAPI32]
sync ParseStringSidToSid with wine 1.1.40

svn path=/trunk/; revision=46207

14 years ago[KSPROXY]
Johannes Anderwald [Mon, 15 Mar 2010 13:11:31 +0000 (13:11 +0000)]
[KSPROXY]
- Implement ISpecifyPropertyPages interface for CInputPin
- Implement IKsInterfaceHandler::KsSetPin, IKsInterfaceHandler::KsProcessMediaSamples, IKsInterfaceHandler::KsCompleteIo

svn path=/trunk/; revision=46205

14 years agoUpdate Firefox 3 URLs. Maciej Białas, bug #5251.
Dmitry Gorbachev [Mon, 15 Mar 2010 12:40:57 +0000 (12:40 +0000)]
Update Firefox 3 URLs. Maciej Białas, bug #5251.

svn path=/trunk/; revision=46204

14 years ago[FAULTREP]
Christoph von Wittich [Mon, 15 Mar 2010 11:45:17 +0000 (11:45 +0000)]
[FAULTREP]
import faultrep.dll from wine 1.1.40

svn path=/trunk/; revision=46203

14 years ago[WININET]
Christoph von Wittich [Mon, 15 Mar 2010 11:35:51 +0000 (11:35 +0000)]
[WININET]
sync wininet with wine 1.1.40

svn path=/trunk/; revision=46202

14 years ago[ntoskrnl] Better fix for correct display of loaded drivers
Hervé Poussineau [Sun, 14 Mar 2010 19:21:38 +0000 (19:21 +0000)]
[ntoskrnl] Better fix for correct display of loaded drivers

svn path=/trunk/; revision=46200

14 years ago[EVENTLOG]
Eric Kohl [Sun, 14 Mar 2010 12:26:49 +0000 (12:26 +0000)]
[EVENTLOG]
- Set the current service status from the service control handler.
- Fix type declarations.
- ElfrOpenELA/ElfrRegisterEventSourceA: Do not call the Unicode functions because in this case it is easier to do things yourself.
- Implement ElfrGetLogInformation partially.
- Bind client to the EventLog Pipe.
- Use RtlInitAnsiString and RtlInitUnicodeString instead of building strings manually.
- GetEventLogInformation: Check for valid dwInfoLevel.

svn path=/trunk/; revision=46199

14 years ago[ntoskrnl] Never suppose that buffer in UNICODE_STRING is null terminated. Fixes...
Hervé Poussineau [Sat, 13 Mar 2010 23:19:05 +0000 (23:19 +0000)]
[ntoskrnl] Never suppose that buffer in UNICODE_STRING is null terminated. Fixes display artifacts on list of loaded drivers

svn path=/trunk/; revision=46193

14 years ago - Fix a typo in AcpiOsReadPciConfiguration and AcpiOsWritePciConfiguration
Cameron Gutman [Sat, 13 Mar 2010 23:01:58 +0000 (23:01 +0000)]
 - Fix a typo in AcpiOsReadPciConfiguration and AcpiOsWritePciConfiguration
 - May fix ACPI on VMware

svn path=/trunk/; revision=46192

14 years ago[freeldr] Never suppose that buffer in UNICODE_STRING is null terminated. Fixes some...
Hervé Poussineau [Sat, 13 Mar 2010 22:56:41 +0000 (22:56 +0000)]
[freeldr] Never suppose that buffer in UNICODE_STRING is null terminated. Fixes some random failures when loading drivers

svn path=/trunk/; revision=46190

14 years ago[CMBATT]: ACPI-compliant. WMI-managed Control Method Battery Driver. Step 1: Define...
Sir Richard [Sat, 13 Mar 2010 21:06:22 +0000 (21:06 +0000)]
[CMBATT]: ACPI-compliant. WMI-managed Control Method Battery Driver. Step 1: Define the interface and ACPI/PnP structures.
The rest of the code is in my WC but needs ACPI Eval IOCTL support in ReactOS before it'll work.

svn path=/trunk/; revision=46188

14 years ago[DDK]: Add ACPI_INTERFACE_STANDARD2. ACPI_INTERFACE_STANDARD is left as an excercise...
Sir Richard [Sat, 13 Mar 2010 20:49:13 +0000 (20:49 +0000)]
[DDK]: Add ACPI_INTERFACE_STANDARD2. ACPI_INTERFACE_STANDARD is left as an excercise to the reader.

svn path=/trunk/; revision=46187

14 years ago[DDK]: Fix Wmilib.h.
Sir Richard [Sat, 13 Mar 2010 20:42:53 +0000 (20:42 +0000)]
[DDK]: Fix Wmilib.h.

svn path=/trunk/; revision=46185

14 years ago[DDK]: Merge 46183 from header-branch.
Sir Richard [Sat, 13 Mar 2010 20:37:31 +0000 (20:37 +0000)]
[DDK]: Merge 46183 from header-branch.

svn path=/trunk/; revision=46184

14 years ago[DDK]
Amine Khaldi [Sat, 13 Mar 2010 20:24:46 +0000 (20:24 +0000)]
[DDK]
- Add acpiioct.h and wmilib.h
- Dedicated to sir_richard ;)

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

14 years ago[NTOSKRNL]
Cameron Gutman [Sat, 13 Mar 2010 19:38:49 +0000 (19:38 +0000)]
[NTOSKRNL]
 - Don't set the RTL_QUERY_REGISTRY_REQUIRED flag for the Service key entry of the query table because it will cause RtlQueryRegistryValues to fail if the service key is absent which we don't want because we handle that case later

svn path=/trunk/; revision=46182

14 years ago - Handle ACPI_RESOURCE_TYPE_EXTENDED_IRQ and ACPI_RESOURCE_TYPE_EXTENDED_ADDRESS64
Cameron Gutman [Sat, 13 Mar 2010 19:19:24 +0000 (19:19 +0000)]
 - Handle ACPI_RESOURCE_TYPE_EXTENDED_IRQ and ACPI_RESOURCE_TYPE_EXTENDED_ADDRESS64

svn path=/trunk/; revision=46181

14 years ago[KSPROXY]
Johannes Anderwald [Sat, 13 Mar 2010 18:45:51 +0000 (18:45 +0000)]
[KSPROXY]
- Add support for IPersist interface
- Create clock handle when request for IKsClockPropertySet / IReferenceClock arrives
- Print out requested format
- Implement IPersist::GetClassID, IBaseFilter::QueryVendorInfo for CKsProxy

svn path=/trunk/; revision=46180

14 years ago[WDM]
Amine Khaldi [Sat, 13 Mar 2010 18:30:43 +0000 (18:30 +0000)]
[WDM]
Add missing IO_PRIORITY_HINT enum

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

14 years ago[NTIFS]
Amine Khaldi [Sat, 13 Mar 2010 18:12:08 +0000 (18:12 +0000)]
[NTIFS]
- Group related definitions
- Remove redundant PoRegisterPowerSettingCallback and PoUnregisterPowerSettingCallback (they exist in wdm.h)

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

14 years ago[ROSAPPS]
Sylvain Petreolle [Sat, 13 Mar 2010 18:07:56 +0000 (18:07 +0000)]
[ROSAPPS]
Fix green build.

svn path=/trunk/; revision=46177

14 years ago[PSDK]
Johannes Anderwald [Sat, 13 Mar 2010 17:36:30 +0000 (17:36 +0000)]
[PSDK]
- Fix KSPROPSETID_Stream definition
[KSPROXY]
- Implement IKsClockPropertySet, IReferenceClock, IMediaSeeking, IKsTopology interface for CKsProxy
- Implement more of IBaseFilter::SetSyncSource for CKsProxy
- Add missing AddRef to IBaseFilter::QueryFilterInfo for CKsProxy

svn path=/trunk/; revision=46176

14 years ago[NTIFS]
Amine Khaldi [Sat, 13 Mar 2010 17:29:43 +0000 (17:29 +0000)]
[NTIFS]
- Group related definitions
- Add several missing FsRtl* and FSRTL_* definitions
- Add some missing NETWORK_OPEN_*, PREFETCH_OPEN_ECP_CONTEXT, sockaddr_storage, NFS_OPEN_ECP_CONTEXT and  SRV_OPEN_ECP_CONTEXT

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

14 years ago - Let the ACPI driver handle fixed feature buttons
Cameron Gutman [Sat, 13 Mar 2010 17:07:00 +0000 (17:07 +0000)]
 - Let the ACPI driver handle fixed feature buttons

svn path=/trunk/; revision=46174

14 years ago - Don't enumerate the ACPI root device
Cameron Gutman [Sat, 13 Mar 2010 16:31:53 +0000 (16:31 +0000)]
 - Don't enumerate the ACPI root device

svn path=/trunk/; revision=46171

14 years ago[csrss] Don't expect ReactOS to always boot from C:\ReactOS (that's not the case...
Hervé Poussineau [Sat, 13 Mar 2010 15:59:12 +0000 (15:59 +0000)]
[csrss] Don't expect ReactOS to always boot from C:\ReactOS (that's not the case for LiveCD)

svn path=/trunk/; revision=46170

14 years ago[NTIFS]
Amine Khaldi [Sat, 13 Mar 2010 15:44:53 +0000 (15:44 +0000)]
[NTIFS]
- Group related definitions
- Add several missing FsRtl* and FSRTL_* definitions

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

14 years ago[NTIFS]
Amine Khaldi [Sat, 13 Mar 2010 15:22:32 +0000 (15:22 +0000)]
[NTIFS]
- Group related definitions
- Add several missing FsRtl*
- Convert FsRtlSetupAdvancedHeader macro to an inline function
- Add ECP_HEADER and ECP_LIST structures

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

14 years ago[PSDK]
Johannes Anderwald [Sat, 13 Mar 2010 14:56:52 +0000 (14:56 +0000)]
[PSDK]
- Fix build #2

svn path=/trunk/; revision=46167

14 years ago[KSUSER]
Johannes Anderwald [Sat, 13 Mar 2010 14:15:56 +0000 (14:15 +0000)]
[KSUSER]
- Fix KsCreateAllocator, KsCreateClock, KsCreateTopologyNode function type

svn path=/trunk/; revision=46166

14 years ago[NTIFS]
Amine Khaldi [Sat, 13 Mar 2010 13:54:24 +0000 (13:54 +0000)]
[NTIFS]
- Group related definitions
- Add OPLOCK_KEY_ECP_CONTEXT, OPLOCK_KEY_ECP_CONTEXT and several missing FsRtl*
- Add missing FSRTL_* definitions
- Add FSRTL_PER_FILE_CONTEXT and FSRTL_MUP_PROVIDER_INFO_LEVEL_* structures

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

14 years ago[PSDK]
Amine Khaldi [Sat, 13 Mar 2010 13:19:18 +0000 (13:19 +0000)]
[PSDK]
Really fix usbioctl.h

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

14 years ago[PSDK]
Amine Khaldi [Sat, 13 Mar 2010 13:15:47 +0000 (13:15 +0000)]
[PSDK]
Fix usbioctl.h

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

14 years ago[NTIFS]
Amine Khaldi [Sat, 13 Mar 2010 13:02:34 +0000 (13:02 +0000)]
[NTIFS]
- Group related definitions
- Add several missing FsRtl* and OPLOCK_*
- Add LEGAL_ANSI_CHARACTER_ARRAY and NLS_MB_CODE_PAGE_TAG
- FsRtlRemoveBaseMcbEntry : VOID -> BOOLEAN

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

14 years ago[PSDK]
Johannes Anderwald [Sat, 13 Mar 2010 12:09:24 +0000 (12:09 +0000)]
[PSDK]
- A few more types for ks.h needed for ksproxy

svn path=/trunk/; revision=46160

14 years ago[PSDK]
Johannes Anderwald [Sat, 13 Mar 2010 10:36:46 +0000 (10:36 +0000)]
[PSDK]
- Add missing function declarations

svn path=/trunk/; revision=46159

14 years ago[PSDK]
Amine Khaldi [Sat, 13 Mar 2010 01:18:58 +0000 (01:18 +0000)]
[PSDK]
Move NTSTATUS codes from DDK to PSDK, removing all the duplicated ones (and adding a couple of missing ones).

Dedicated to arty

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

14 years ago[HEADERS]
Timo Kreuzer [Sat, 13 Mar 2010 00:34:48 +0000 (00:34 +0000)]
[HEADERS]
Say hello to the "XDK" (preliminary name). A set of headers from wich certain other headers (wdm, ntifs, ntddk, winnt) shall one day be autogenerated. I added a .bat file that autogenerates wdn.h from wdm.template.h and the headers. Others will follow.

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

14 years ago[KMTEST]
Timo Kreuzer [Sat, 13 Mar 2010 00:01:01 +0000 (00:01 +0000)]
[KMTEST]
Try to fix rostests build

svn path=/trunk/; revision=46156

14 years ago[HEADERS]
Timo Kreuzer [Fri, 12 Mar 2010 23:16:29 +0000 (23:16 +0000)]
[HEADERS]
Reintegrate header-work branch. Thanks to hours of boring work on the ddk headers (Most of it done by Amine Khaldi), we have now a decent set, which is still incomplete but already relatively close to latest WDK. A clean rebuild is recommended.

svn path=/trunk/; revision=46155

14 years ago - Handle ACPI_RESOURCE_TYPE_ADDRESS16, ACPI_RESOURCE_TYPE_ADDRESS32, ACPI_RESOURCE_T...
Cameron Gutman [Fri, 12 Mar 2010 23:00:18 +0000 (23:00 +0000)]
 - Handle ACPI_RESOURCE_TYPE_ADDRESS16, ACPI_RESOURCE_TYPE_ADDRESS32, ACPI_RESOURCE_TYPE_ADDRESS64, ACPI_RESOURCE_TYPE_MEMORY24, and ACPI_RESOURCE_TYPE_MEMORY32 for IRP_MN_QUERY_RESOURCES and IRP_MN_QUERY_RESOURCE_REQUIREMENTS

svn path=/trunk/; revision=46154

14 years agoMerge trunk HEAD (46152)
Timo Kreuzer [Fri, 12 Mar 2010 21:42:11 +0000 (21:42 +0000)]
Merge trunk HEAD (46152)

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

14 years agoRevert 45697:
Timo Kreuzer [Fri, 12 Mar 2010 21:28:06 +0000 (21:28 +0000)]
Revert 45697:
"* Disable compiling usermode components for now."

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

14 years agoSync with trunk head
Amine Khaldi [Fri, 12 Mar 2010 20:08:06 +0000 (20:08 +0000)]
Sync with trunk head

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

14 years agoForgot to add this in the previous commit
Amine Khaldi [Fri, 12 Mar 2010 18:59:49 +0000 (18:59 +0000)]
Forgot to add this in the previous commit

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

14 years agoFix (USERMODE=0) build :
Amine Khaldi [Fri, 12 Mar 2010 18:45:59 +0000 (18:45 +0000)]
Fix (USERMODE=0) build :
[WMILIB]
- Add WmiSystemControl
[NDK]
- KeGetPcr : Correct KPCR member name

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

14 years ago[PSDK]
Amine Khaldi [Fri, 12 Mar 2010 18:32:40 +0000 (18:32 +0000)]
[PSDK]
- Move ntddkbd.h to PSDK
- Add several missing KEYBOARD_* definitions

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

14 years ago[BATTC]
Amine Khaldi [Fri, 12 Mar 2010 18:25:50 +0000 (18:25 +0000)]
[BATTC]
- Correct BatteryClassSystemControl params
- Include wmlib.h
[WMLIB]
- Add WMIENABLEDISABLECONTROL and SYSCTL_IRP_DISPOSITION

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

14 years ago[WDM]
Timo Kreuzer [Fri, 12 Mar 2010 17:48:50 +0000 (17:48 +0000)]
[WDM]
- fix definition of KeTickCount
- Add KeQueryTickCount (note: MS version is very hacky. Someone tell them how to use DECLSPEC_IMPORT)

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

14 years ago[NTIFS]
Amine Khaldi [Fri, 12 Mar 2010 17:17:51 +0000 (17:17 +0000)]
[NTIFS]
- Remove some redundant definitions (that exist in wdm.h)

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

14 years ago[NTOS] Fix WmiTraceMessageVa export, the first parameter (TRACEHANDLE) is 64 bits...
Timo Kreuzer [Fri, 12 Mar 2010 17:17:27 +0000 (17:17 +0000)]
[NTOS] Fix WmiTraceMessageVa export, the first parameter (TRACEHANDLE) is 64 bits wide.

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

14 years agoAdd a missing NTAPI
Timo Kreuzer [Fri, 12 Mar 2010 17:01:13 +0000 (17:01 +0000)]
Add a missing NTAPI

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

14 years ago[NTIFS]
Amine Khaldi [Fri, 12 Mar 2010 16:55:09 +0000 (16:55 +0000)]
[NTIFS]
- Remove redundant IoSizeOfIrp, PoSetDeviceBusy and PPOWER_SETTING_CALLBACK definitions (They exist in wdm.h)

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

14 years ago[WDM]
Amine Khaldi [Fri, 12 Mar 2010 16:43:17 +0000 (16:43 +0000)]
[WDM]
- Remove NTKERNELAPI from IoSetStartIoAttributes
[NTIFS]
- Group some related definitions

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

14 years ago[PSDK]
Timo Kreuzer [Fri, 12 Mar 2010 16:37:33 +0000 (16:37 +0000)]
[PSDK]
- Add dpfilter.h
- batclass.h: Fix BatteryClassSystemControl
- ntdef.h: add ARGUMENT_PRESENT and PEXCEPTION_ROUTINE
[NDK]
- Add some ob functions
[DDK]
- add wmlib.h
- remove winddk.h
[WDM]
- include dpfilter.h
- Add ASSERT_GATE, ASSERT_TIMER, ASSERT_MUTANT, ASSERT_SEMAPHORE, ASSERT_EVENT, TIMER_TABLE_SIZE, TIMER_TABLE_SHIFT, ADDRESS_AND_SIZE_TO_SPAN_PAGES, PoRequestShutdownEvent
- Group architecture specific definitions (currently only x86)
- uncomment some _DECL_HAL_KE_IMPORT

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

14 years ago[NTOS]
Timo Kreuzer [Fri, 12 Mar 2010 16:28:04 +0000 (16:28 +0000)]
[NTOS]
- KPCR::Tib -> NtTib, KPCR::Self -> SelfPcr
- Rename ExInitializePushLock inline function to _ExInitializePushLock and use a define, as in newer versions of windows the function exists as export and is in the WDK

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

14 years ago{HAL] Add PCI_ADDRESS_MEMORY_SPACE definition. It's not part of DDK/WDK
Timo Kreuzer [Fri, 12 Mar 2010 16:25:36 +0000 (16:25 +0000)]
{HAL] Add PCI_ADDRESS_MEMORY_SPACE definition. It's not part of DDK/WDK

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

14 years ago- Update more menu types and flags.
James Tabor [Fri, 12 Mar 2010 16:11:28 +0000 (16:11 +0000)]
- Update more menu types and flags.

svn path=/trunk/; revision=46134

14 years ago[KSPROXY]
Sylvain Petreolle [Fri, 12 Mar 2010 15:33:10 +0000 (15:33 +0000)]
[KSPROXY]
Comment out a reference to non existent "resource." file
in the visual studio generated resource file.
This issue was likely ignored by the buildbot.

svn path=/trunk/; revision=46133

14 years ago[NTIFS]
Amine Khaldi [Fri, 12 Mar 2010 14:39:26 +0000 (14:39 +0000)]
[NTIFS]
- Group related definitions
- Add FSRTL_AUXILIARY_BUFFER, FSRTL_AUXILIARY_FLAG_DEALLOCATE and several FsRtl*
- Update FILE_LOCK
- Missed FSRTL_COMMON_FCB_HEADER in my previous commit

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

14 years ago[NTIFS]
Amine Khaldi [Fri, 12 Mar 2010 13:33:25 +0000 (13:33 +0000)]
[NTIFS]
- Group related definitions
- Add HalGetDmaAlignmentRequirement, MM_PREFETCH_FLAGS, MM_PREFETCH_FLAGS_MASK, EOF_WAIT_BLOCK and several FSRTL_*, Mm*, Ob*
- Update MmIsRecursiveIoFault, FSRTL_COMMON_FCB_HEADER and FSRTL_ADVANCED_FCB_HEADER

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

14 years ago[NTIFS]
Amine Khaldi [Fri, 12 Mar 2010 11:54:56 +0000 (11:54 +0000)]
[NTIFS]
- Add several missing Po* definitions

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

14 years ago[NTIFS]
Amine Khaldi [Fri, 12 Mar 2010 11:40:01 +0000 (11:40 +0000)]
[NTIFS]
- Group related definitions
- Add several Io* definitions
- Add IO_PRIORITY_INFO structure

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

14 years ago[NTIFS]
Amine Khaldi [Fri, 12 Mar 2010 11:18:35 +0000 (11:18 +0000)]
[NTIFS]
- Group related definitions
- Add several Fs*, Io* and DO_* definitions

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

14 years ago - Fix acpi_bus_receive_event and acpi_bus_generate_event which will be used for...
Cameron Gutman [Fri, 12 Mar 2010 04:42:23 +0000 (04:42 +0000)]
 - Fix acpi_bus_receive_event and acpi_bus_generate_event which will be used for button events later
 - Uncomment and fix the locking code that protects the event queue and driver list

svn path=/trunk/; revision=46127

14 years ago[NTIFS]
Amine Khaldi [Fri, 12 Mar 2010 00:08:20 +0000 (00:08 +0000)]
[NTIFS]
- Group related definitions
- Update PsDereferencePrimaryToken and PsDereferenceImpersonationToken
- PsChargePoolQuota, PsReturnPoolQuota and PsChargeProcessPoolQuota : SIZE_T Amount -> ULONG_PTR Amount
- Add several missing IO_* and FS_FILTER_* definitions
- DRIVER_FS_NOTIFICATION : DriverActive -> FsActive

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

14 years ago[NTDDK]
Timo Kreuzer [Thu, 11 Mar 2010 23:54:57 +0000 (23:54 +0000)]
[NTDDK]
- move pHalGetAcpiTable, PCI_ERROR_HANDLER_CALLBACK, pHalSetPciErrorHandlerCallback, pHalIoAssignDriveLetters
- Add HAL_DISPATCH::pHalIoAssignDriveLetters
- add pre vista versions of pKdMapPhysicalMemory64 and pKdUnmapVirtualAddress
- Fix definition of HalDispatchTable

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