reactos.git
10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 years ago[NTIFS]
Amine Khaldi [Thu, 11 Mar 2010 23:36:06 +0000 (23:36 +0000)]
[NTIFS]
- Group related definitions
- SeSetSecurityDescriptorInfo : SecurityDescriptor -> ModificationDescriptor
- SeAuditingFileOrGlobalEvents : SubjectContext -> SubjectSecurityContext
- Add SeAuditHardLinkCreation, SeAuditHardLinkCreationWithTransaction, SeAuditTransactionStateChange, SeAuditingFileEventsWithContext, SeAuditingAnyFileEventsWithContext, SeAuditingHardLinkEvents, SeAuditingHardLinkEventsWithContext, SeExamineGlobalSacl and SeMaximumAuditMaskFromGlobalSacl

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

10 years ago[WIN32K]
Kamil Hornicek [Thu, 11 Mar 2010 23:11:00 +0000 (23:11 +0000)]
[WIN32K]
Prevent a possible memory leak.
Use SURFACE_FreeSurfaceByHandle so we don't hit the "Object must not have a handle!" assert in GDIOBJ_FreeObj.

svn path=/trunk/; revision=46123

10 years ago[NTIFS]
Amine Khaldi [Thu, 11 Mar 2010 23:07:52 +0000 (23:07 +0000)]
[NTIFS]
- Group related definitions
- Add SeOpenObjectAuditAlarmWithTransaction, SeOpenObjectForDeleteAuditAlarmWithTransaction, SeExamineSacl, SeDeleteObjectAuditAlarmWithTransaction, SeTokenIsWriteRestricted, SeFilterToken, SeQueryTokenIntegrity and SeSetSessionIdToken
- SeQueryAuthenticationIdToken : LogonId -> AuthenticationId
- SeCreateClientSecurity : Fix parameters' names
- SeCreateClientSecurityFromSubjectContext : QualityOfService -> ClientSecurityQos

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

10 years ago - Use the possible resources not the current resources for IRP_MN_QUERY_RESOURCE_REQ...
Cameron Gutman [Thu, 11 Mar 2010 22:36:22 +0000 (22:36 +0000)]
 - Use the possible resources not the current resources for IRP_MN_QUERY_RESOURCE_REQUIREMENTS
 - Initialize MaximumVector for IRQs, MaximumChannel for DMA, and Alignment for Port

svn path=/trunk/; revision=46121

10 years ago[NTIFS]
Amine Khaldi [Thu, 11 Mar 2010 22:33:08 +0000 (22:33 +0000)]
[NTIFS]
- Group related definitions
- Add ExInitializePushLock, SeReportSecurityEventWithSubCategory, SeAccessCheckFromState, SeStopImpersonatingClient and TOKEN_* definitions
- Update SE_EXPORTS

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

10 years ago - Fix the resource parsing loops to correct a memory corruption issue
Cameron Gutman [Thu, 11 Mar 2010 22:15:21 +0000 (22:15 +0000)]
 - Fix the resource parsing loops to correct a memory corruption issue
 - Return the correct failure status if ExAllocatePool fails

svn path=/trunk/; revision=46119

10 years ago[KSPROXY]
Johannes Anderwald [Thu, 11 Mar 2010 21:52:15 +0000 (21:52 +0000)]
[KSPROXY]
- Fix trunk

svn path=/trunk/; revision=46118

10 years ago[WIN32K]: Enable the alignment code and reduce the number of hacks, leaving only...
Sir Richard [Thu, 11 Mar 2010 21:41:19 +0000 (21:41 +0000)]
[WIN32K]: Enable the alignment code and reduce the number of hacks, leaving only one for 1bpp top-down output (Freetype?) which doesn't seem to like when the lDelta is aligned to the correct bit-boundary. This should fix the crashes and graphic cltches recently introduced.

svn path=/trunk/; revision=46117

10 years ago[KSPROXY]
Johannes Anderwald [Thu, 11 Mar 2010 21:38:13 +0000 (21:38 +0000)]
[KSPROXY]
- Recreate resource file with visual studio
- Fix compilation with msvc
- Copy extra format buffer in IEnumMediaTypes::Next
- Create the pin handle in IPin::ReceiveConnection
- Implement IPin::Disconnect for the input pin
- Enumerate media formats and pass it to constructor of CEnumMediaTypes
- Check if the passed format is null in CInputPin::CheckFormat
- Copy extra format buffer after KSDATAFORMAT in the pin connection request
- Implement KsGetMediaType function
- Implement ISpecifyPropertyPages, IKsPropertySet, IKsControl, IStreamBuilder, IKsPinFactory for the output pin
- Implement IPin::ReceiveConnection, IPin::EnumMediaTypes for output pin
- Stub interfaces for IReferenceClock, IMediaSeeking, IKsTopology, IKsAggregateControl, IKsClockPropertySet, ISpecifyPropertyPages, IPersistStream for proxy filter
- Implement IAMDeviceRemoval, IKsControl, IAMFilterMiscFlags, IKsPropertySet interface for proxy filter

svn path=/trunk/; revision=46116

10 years ago[PSDK]
Johannes Anderwald [Thu, 11 Mar 2010 21:15:46 +0000 (21:15 +0000)]
[PSDK]
- Add a few types required for ksproxy

svn path=/trunk/; revision=46115

10 years agoComment out RegisterServiceProcess' stub.
Dmitry Gorbachev [Thu, 11 Mar 2010 20:59:47 +0000 (20:59 +0000)]
Comment out RegisterServiceProcess' stub.

svn path=/trunk/; revision=46114

10 years agoOutput PCH even when full dependencies are enabled.
Dmitry Gorbachev [Thu, 11 Mar 2010 20:59:24 +0000 (20:59 +0000)]
Output PCH even when full dependencies are enabled.

svn path=/trunk/; revision=46113

10 years ago[SHELL32]
Kamil Hornicek [Thu, 11 Mar 2010 19:42:59 +0000 (19:42 +0000)]
[SHELL32]
- according to msdn ppidl should be set to NULL if an error occurs
- fixes shlfolder winetest crash

svn path=/trunk/; revision=46112

10 years ago[WIN32K]: Revert accidental changes to IntCreateBitmap.
Sir Richard [Thu, 11 Mar 2010 19:26:00 +0000 (19:26 +0000)]
[WIN32K]: Revert accidental changes to IntCreateBitmap.

svn path=/trunk/; revision=46111

10 years ago- missed this one.. fix build?
Kamil Hornicek [Thu, 11 Mar 2010 18:48:46 +0000 (18:48 +0000)]
- missed this one.. fix build?

svn path=/trunk/; revision=46110

10 years ago- fix build
Kamil Hornicek [Thu, 11 Mar 2010 18:40:26 +0000 (18:40 +0000)]
- fix build

svn path=/trunk/; revision=46109

10 years ago- Remove bits saying dithering supported, since code patented and removed (also,...
evb [Thu, 11 Mar 2010 18:19:58 +0000 (18:19 +0000)]
- Remove bits saying dithering supported, since code patented and removed (also, ReactOS win32k not support dithering calls!).

svn path=/trunk/; revision=46108

10 years ago[FRAMEBUF]: Use precompiled header.
Sir Richard [Thu, 11 Mar 2010 18:19:02 +0000 (18:19 +0000)]
[FRAMEBUF]: Use precompiled header.

svn path=/trunk/; revision=46107

10 years ago- Added support IOCTRL_QUERY_PUBLIC_ACCESS_RANGES, IOCTRL_SET_PALETTE_REGISTERS,...
evb [Thu, 11 Mar 2010 17:56:27 +0000 (17:56 +0000)]
- Added support IOCTRL_QUERY_PUBLIC_ACCESS_RANGES, IOCTRL_SET_PALETTE_REGISTERS, IOCTRL_QUERY_CURRENT_MODE, used by test Standard VGA-only display driver.
- Code from NT4 DDK Cirrus miniport with some mods by me.

svn path=/trunk/; revision=46106

10 years ago[NTIFS]
Amine Khaldi [Thu, 11 Mar 2010 17:51:43 +0000 (17:51 +0000)]
[NTIFS]
- Group related definitions
- Add InterlockedPushListSList, ExAdjustLookasideDepth and ExDisableResourceBoost
- Add some asserts

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

10 years ago[WIN32K]: EngCreateBitmap/IntCreateBitmap don't make much sense (code written back...
Sir Richard [Thu, 11 Mar 2010 17:49:44 +0000 (17:49 +0000)]
[WIN32K]: EngCreateBitmap/IntCreateBitmap don't make much sense (code written back in 2004...). RLEs don't have scanlines by definitions, bit depth alignments and sizing is not done, newer display formats (compressed) are not supported correctly, zero-width surfaces fail because the size is ignored during scanline calculation, etc. These bugs caused eVb's test VGA display driver to fail as it needs to create a zero-depth shadow surface, which would end up with pv0Bits == NULL in the current implementation (and crash during ROPs/BitBLTs). Attempted to rewrite as much of it to 1) make Windows drivers work with it 2) continue the current hacks needed for ReactOS drawing. Note that the broken IntCreateBitmap is still used by non EngXXX interfaces to reduce the change of breakage, but keep in mind the function is entirely wrong.

svn path=/trunk/; revision=46104

10 years ago[WIN32K]: Stop memory corruption when InstalledDisplayDrivers has more than one drive...
Sir Richard [Thu, 11 Mar 2010 17:46:15 +0000 (17:46 +0000)]
[WIN32K]: Stop memory corruption when InstalledDisplayDrivers has more than one driver in the list. Note that driver loading is inherently broken right now, as the list of drivers is not parsed properly (this breaks eVb's VGA/VBE driver).

svn path=/trunk/; revision=46103

10 years ago[COMDLG32]
Aleksey Bragin [Thu, 11 Mar 2010 17:37:30 +0000 (17:37 +0000)]
[COMDLG32]
- Sync to Wine-1.1.40.

svn path=/trunk/; revision=46102

10 years ago[PSDK]
Aleksey Bragin [Thu, 11 Mar 2010 17:32:43 +0000 (17:32 +0000)]
[PSDK]
- Add GdiConvertToDevmodeW declaration (needed for comdlg32). Arwinss PSDK changes should really be merged in.

svn path=/trunk/; revision=46101

10 years ago[NTDDK]
Amine Khaldi [Thu, 11 Mar 2010 17:27:44 +0000 (17:27 +0000)]
[NTDDK]
- Continue moving ntddk related definitions from winddk.h, fixing the conflicts caused by r46097
- pKdUnmapVirtualAddress and pKdMapPhysicalMemory64 : Add missing FlushCurrentTLB
- Update HAL_DISPATCH and HalDispatchTable definitions
- DDKAPI -> NTAPI
- IMAGE_INFO : Add missing ExtendedInfoPresent
- Update (X86) KPCR definition

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

10 years ago[WLANSVC]
Sylvain Petreolle [Thu, 11 Mar 2010 16:36:11 +0000 (16:36 +0000)]
[WLANSVC]
Correctly start and report status to the service manager.

svn path=/trunk/; revision=46099

10 years ago[SHELL32]
Kamil Hornicek [Thu, 11 Mar 2010 14:57:05 +0000 (14:57 +0000)]
[SHELL32]
- partial Wine sync, fixes crashing shlfileop winetest:
Use the current directory when copying to an empty destination.
Fix a memory leak in SHFileOperationW.
Vincent Povirk <vincent at codeweavers dot com>

svn path=/trunk/; revision=46098

10 years ago[FREELDR] Include ntddk.h instead of winddk.h
Timo Kreuzer [Thu, 11 Mar 2010 14:49:41 +0000 (14:49 +0000)]
[FREELDR] Include ntddk.h instead of winddk.h
[RAMDISK] Add missing DO_XIP definition (not in WDK/DDK)
[FASTFAT] Remove duplicate VOLUME_IS_DIRTY definition
[HAL] Add case stubs for missing HAL_QUERY_INFORMATION_CLASS members
[NDK] Fix DbgPrompt prototype
[NTDDK]
- Move from winddk.h: _KUSER_SHARED_DATA (updated), pHalIoAssignDriveLetters, PHAL_RESET_DISPLAY_PARAMETERS, HAL_DISPATCH, HalDispatchTable, PCREATE_PROCESS_NOTIFY_ROUTINE, PCREATE_THREAD_NOTIFY_ROUTINE, IMAGE_INFO, PLOAD_IMAGE_NOTIFY_ROUTINE, BUS_DATA_TYPE (updated), PROCESSINFOCLASS (updated), THREADINFOCLASS (updated), DISK_SIGNATURE, PTIMER_APC_ROUTINE, Exfi386InterlockedIncrementLong, Exfi386InterlockedDecrementLong, Exfi386InterlockedExchangeUlong
- Add pHalGetAcpiTable, PCI_ERROR_HANDLER_CALLBACK, pHalSetPciErrorHandlerCallback
[WDM] Add _DECL_HAL_KE_IMPORT, Reorder sections (types before functions)

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

10 years agofix build?
Kamil Hornicek [Thu, 11 Mar 2010 11:47:13 +0000 (11:47 +0000)]
fix build?

svn path=/trunk/; revision=46096

10 years ago[KERNEL32] GetConsoleProcessList is implemented, this prevents the console winetest...
Kamil Hornicek [Thu, 11 Mar 2010 11:34:29 +0000 (11:34 +0000)]
[KERNEL32] GetConsoleProcessList is implemented, this prevents the console winetest from crashing

svn path=/trunk/; revision=46095

10 years ago[KTMTYPES]
Timo Kreuzer [Thu, 11 Mar 2010 11:32:54 +0000 (11:32 +0000)]
[KTMTYPES]
Fix the UOW hack, use special case for C++
Thanks to Dmitry Gorbachev for the solution.

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

10 years ago[OLEAUT32]
Aleksey Bragin [Thu, 11 Mar 2010 10:28:34 +0000 (10:28 +0000)]
[OLEAUT32]
- Sync to Wine-1.1.40.

svn path=/trunk/; revision=46093

10 years ago- Fix test build!
James Tabor [Thu, 11 Mar 2010 03:29:01 +0000 (03:29 +0000)]
- Fix test build!

svn path=/trunk/; revision=46092

10 years ago- Fix build!
James Tabor [Thu, 11 Mar 2010 03:28:32 +0000 (03:28 +0000)]
- Fix build!

svn path=/trunk/; revision=46091

10 years ago- Add new menu structures.
James Tabor [Thu, 11 Mar 2010 02:43:51 +0000 (02:43 +0000)]
- Add new menu structures.

svn path=/trunk/; revision=46090

10 years ago[KMTYPES]
Timo Kreuzer [Thu, 11 Mar 2010 00:47:36 +0000 (00:47 +0000)]
[KMTYPES]
Add a compilation hack for gcc

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

10 years ago[NTDDK]
Amine Khaldi [Thu, 11 Mar 2010 00:35:13 +0000 (00:35 +0000)]
[NTDDK]
- Move several ntddk.h related definition from winddk.h
- Add IRP_MN_FLUSH_AND_PURGE and several DO_* definition
- Update HAL_QUERY_INFORMATION_CLASS and HAL_SET_INFORMATION_CLASS members
- Fix DEBUG_DEVICE_DESCRIPTOR structure definition

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

10 years ago[NTDDK]
Amine Khaldi [Wed, 10 Mar 2010 23:49:42 +0000 (23:49 +0000)]
[NTDDK]
- Move several ntddk.h related definition from winddk.h
- Group related definitions

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

10 years ago[NTDDK]
Amine Khaldi [Wed, 10 Mar 2010 23:45:06 +0000 (23:45 +0000)]
[NTDDK]
- Move several ntddk.h related definition from winddk.h
- Group related definitions
- MmAllocateNonCachedMemory : ULONG NumberOfBytes -> SIZE_T NumberOfBytes
- DbgPrompt : Add NTSYSAPI and MaximumResponseLength -> Length
- RtlLargeIntegerDivide : static __inline -> __inline

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

10 years ago[NTDDK]
Amine Khaldi [Wed, 10 Mar 2010 23:09:27 +0000 (23:09 +0000)]
[NTDDK]
- Move several ntddk.h related definition from winddk.h
- Group related definitions
- ZwSetTimer : BOOLEAN WakeTimer -> BOOLEAN ResumeTimer
- IoWritePartitionTableEx : *PartitionBuffer -> *DriveLayout
- HalPutDmaAdapter : AdapterObject -> DmaAdapter
- MmAllocateNonCachedMemory : ULONG NumberOfBytes -> SIZE_T NumberOfBytes

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

10 years ago - We forget that AE_BUFFER_OVERFLOW is normal and expected since our buffer length...
Cameron Gutman [Wed, 10 Mar 2010 22:25:40 +0000 (22:25 +0000)]
 - We forget that AE_BUFFER_OVERFLOW is normal and expected since our buffer length is 0 so don't fail if that status is returned
 - For any device that actually had resources we would return STATUS_SUCCESS without building a resource list and if the device didn't have resources we would end up freeing a NULL pointer, storing stack trash in Irp->IoStatus.Information, and then returning STATUS_SUCCESS
 - Fixes reporting device resources (and possibly the VBox additions crash with ACPI enabled)

svn path=/trunk/; revision=46080